Fix #378
This commit is contained in:
parent
bd1dc8cb53
commit
73250fcc3d
@ -3733,9 +3733,6 @@
|
||||
if (g.VIEW === 'catalog' || !Conf['Quote Inlining']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Comment Expansion']) {
|
||||
ExpandComment.callbacks.push(this.node);
|
||||
}
|
||||
if (Conf['Quote Hash Navigation']) {
|
||||
this.node = function() {
|
||||
var link, _i, _len, _ref;
|
||||
@ -3760,6 +3757,9 @@
|
||||
}
|
||||
};
|
||||
}
|
||||
if (Conf['Comment Expansion']) {
|
||||
ExpandComment.callbacks.push(this.node);
|
||||
}
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Quote Inlining',
|
||||
cb: this.node
|
||||
|
||||
@ -3738,9 +3738,6 @@
|
||||
if (g.VIEW === 'catalog' || !Conf['Quote Inlining']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Comment Expansion']) {
|
||||
ExpandComment.callbacks.push(this.node);
|
||||
}
|
||||
if (Conf['Quote Hash Navigation']) {
|
||||
this.node = function() {
|
||||
var link, _i, _len, _ref;
|
||||
@ -3765,6 +3762,9 @@
|
||||
}
|
||||
};
|
||||
}
|
||||
if (Conf['Comment Expansion']) {
|
||||
ExpandComment.callbacks.push(this.node);
|
||||
}
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Quote Inlining',
|
||||
cb: this.node
|
||||
|
||||
@ -2,9 +2,6 @@ QuoteInline =
|
||||
init: ->
|
||||
return if g.VIEW is 'catalog' or !Conf['Quote Inlining']
|
||||
|
||||
if Conf['Comment Expansion']
|
||||
ExpandComment.callbacks.push @node
|
||||
|
||||
if Conf['Quote Hash Navigation']
|
||||
@node = ->
|
||||
for link in @nodes.quotelinks.concat [@nodes.backlinks...]
|
||||
@ -18,6 +15,9 @@ QuoteInline =
|
||||
$.on link, 'click', QuoteInline.toggle
|
||||
return
|
||||
|
||||
if Conf['Comment Expansion']
|
||||
ExpandComment.callbacks.push @node
|
||||
|
||||
Post::callbacks.push
|
||||
name: 'Quote Inlining'
|
||||
cb: @node
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user