This commit is contained in:
Zixaphir 2013-08-08 14:49:31 -07:00
parent bd1dc8cb53
commit 73250fcc3d
3 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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