Merge branch 'v3' of git://github.com/zixaphir/appchan-x
This commit is contained in:
commit
9c16982c53
@ -7001,6 +7001,9 @@
|
||||
});
|
||||
}
|
||||
$.ready(this.initReady);
|
||||
if (Conf['Persistent QR']) {
|
||||
$.on(d, '4chanXInitFinished', this.persist);
|
||||
}
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Quick Reply',
|
||||
cb: this.node
|
||||
@ -7046,16 +7049,13 @@
|
||||
$.on(d, 'dragover', QR.dragOver);
|
||||
$.on(d, 'drop', QR.dropFile);
|
||||
$.on(d, 'dragstart dragend', QR.drag);
|
||||
$.on(d, 'ThreadUpdate', function() {
|
||||
return $.on(d, 'ThreadUpdate', function() {
|
||||
if (g.DEAD) {
|
||||
return QR.abort();
|
||||
} else {
|
||||
return QR.status();
|
||||
}
|
||||
});
|
||||
if (Conf['Persistent QR']) {
|
||||
return QR.persist();
|
||||
}
|
||||
},
|
||||
node: function() {
|
||||
return $.on($('a[title="Quote this post"]', this.nodes.info), 'click', QR.quote);
|
||||
|
||||
@ -6997,6 +6997,9 @@
|
||||
});
|
||||
}
|
||||
$.ready(this.initReady);
|
||||
if (Conf['Persistent QR']) {
|
||||
$.on(d, '4chanXInitFinished', this.persist);
|
||||
}
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Quick Reply',
|
||||
cb: this.node
|
||||
@ -7042,16 +7045,13 @@
|
||||
$.on(d, 'dragover', QR.dragOver);
|
||||
$.on(d, 'drop', QR.dropFile);
|
||||
$.on(d, 'dragstart dragend', QR.drag);
|
||||
$.on(d, 'ThreadUpdate', function() {
|
||||
return $.on(d, 'ThreadUpdate', function() {
|
||||
if (g.DEAD) {
|
||||
return QR.abort();
|
||||
} else {
|
||||
return QR.status();
|
||||
}
|
||||
});
|
||||
if (Conf['Persistent QR']) {
|
||||
return QR.persist();
|
||||
}
|
||||
},
|
||||
node: function() {
|
||||
return $.on($('a[title="Quote this post"]', this.nodes.info), 'click', QR.quote);
|
||||
|
||||
@ -6866,6 +6866,9 @@
|
||||
});
|
||||
}
|
||||
$.ready(this.initReady);
|
||||
if (Conf['Persistent QR']) {
|
||||
$.on(d, '4chanXInitFinished', this.persist);
|
||||
}
|
||||
return Post.prototype.callbacks.push({
|
||||
name: 'Quick Reply',
|
||||
cb: this.node
|
||||
@ -6912,16 +6915,13 @@
|
||||
$.on(d, 'dragover', QR.dragOver);
|
||||
$.on(d, 'drop', QR.dropFile);
|
||||
$.on(d, 'dragstart dragend', QR.drag);
|
||||
$.on(d, 'ThreadUpdate', function() {
|
||||
return $.on(d, 'ThreadUpdate', function() {
|
||||
if (g.DEAD) {
|
||||
return QR.abort();
|
||||
} else {
|
||||
return QR.status();
|
||||
}
|
||||
});
|
||||
if (Conf['Persistent QR']) {
|
||||
return QR.persist();
|
||||
}
|
||||
},
|
||||
node: function() {
|
||||
return $.on($('a[title="Quote this post"]', this.nodes.info), 'click', QR.quote);
|
||||
|
||||
@ -25,6 +25,7 @@ QR =
|
||||
$.asap (-> doc), -> $.addClass doc, 'hide-original-post-form'
|
||||
|
||||
$.ready @initReady
|
||||
$.on d, '4chanXInitFinished', @persist if Conf['Persistent QR']
|
||||
|
||||
Post::callbacks.push
|
||||
name: 'Quick Reply'
|
||||
@ -67,7 +68,6 @@ QR =
|
||||
else
|
||||
QR.status()
|
||||
|
||||
QR.persist() if Conf['Persistent QR']
|
||||
|
||||
node: ->
|
||||
$.on $('a[title="Quote this post"]', @nodes.info), 'click', QR.quote
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user