inline node funk
This commit is contained in:
parent
9aef4c09ef
commit
2e98085f18
@ -1829,9 +1829,7 @@
|
|||||||
};
|
};
|
||||||
quoteBacklink = {
|
quoteBacklink = {
|
||||||
init: function() {
|
init: function() {
|
||||||
return g.callbacks.push(quoteBacklink.node);
|
return g.callbacks.push(function(root) {
|
||||||
},
|
|
||||||
node: function(root) {
|
|
||||||
var el, id, link, opbl, qid, quote, quotes, _i, _len, _ref, _results;
|
var el, id, link, opbl, qid, quote, quotes, _i, _len, _ref, _results;
|
||||||
if (/inline/.test(root.className)) {
|
if (/inline/.test(root.className)) {
|
||||||
return;
|
return;
|
||||||
@ -1876,6 +1874,7 @@
|
|||||||
_results.push($.append($('.container', el), $.tn(' '), link));
|
_results.push($.append($('.container', el), $.tn(' '), link));
|
||||||
}
|
}
|
||||||
return _results;
|
return _results;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
quoteInline = {
|
quoteInline = {
|
||||||
|
|||||||
@ -1440,9 +1440,7 @@ titlePost =
|
|||||||
|
|
||||||
quoteBacklink =
|
quoteBacklink =
|
||||||
init: ->
|
init: ->
|
||||||
g.callbacks.push quoteBacklink.node
|
g.callbacks.push (root) ->
|
||||||
|
|
||||||
node: (root) ->
|
|
||||||
return if /inline/.test root.className
|
return if /inline/.test root.className
|
||||||
$.after $('span[id^=no]', root), $.el 'span', className: 'container'
|
$.after $('span[id^=no]', root), $.el 'span', className: 'container'
|
||||||
# op or reply
|
# op or reply
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user