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