MISTAKES WERE MADE!
This commit is contained in:
parent
76f779fa25
commit
1fc83f9b95
@ -5843,7 +5843,7 @@
|
||||
return $.addClass(doc, 'hide-original-post-form');
|
||||
});
|
||||
}
|
||||
$.on('4chanXInitFinished', this.initReady);
|
||||
$.on(d, '4chanXInitFinished', this.initReady);
|
||||
return Post.callbacks.push({
|
||||
name: 'Quick Reply',
|
||||
cb: this.node
|
||||
@ -5851,6 +5851,7 @@
|
||||
},
|
||||
initReady: function() {
|
||||
var link;
|
||||
$.off(d, '4chanXInitFinished', this.initReady);
|
||||
QR.postingIsEnabled = !!$.id('postForm');
|
||||
if (!QR.postingIsEnabled) {
|
||||
return;
|
||||
|
||||
@ -5895,7 +5895,7 @@
|
||||
return $.addClass(doc, 'hide-original-post-form');
|
||||
});
|
||||
}
|
||||
$.on('4chanXInitFinished', this.initReady);
|
||||
$.on(d, '4chanXInitFinished', this.initReady);
|
||||
return Post.callbacks.push({
|
||||
name: 'Quick Reply',
|
||||
cb: this.node
|
||||
@ -5903,6 +5903,7 @@
|
||||
},
|
||||
initReady: function() {
|
||||
var link;
|
||||
$.off(d, '4chanXInitFinished', this.initReady);
|
||||
QR.postingIsEnabled = !!$.id('postForm');
|
||||
if (!QR.postingIsEnabled) {
|
||||
return;
|
||||
|
||||
@ -30,13 +30,14 @@ QR =
|
||||
if Conf['Hide Original Post Form']
|
||||
$.asap (-> doc), -> $.addClass doc, 'hide-original-post-form'
|
||||
|
||||
$.on '4chanXInitFinished', @initReady
|
||||
$.on d, '4chanXInitFinished', @initReady
|
||||
|
||||
Post.callbacks.push
|
||||
name: 'Quick Reply'
|
||||
cb: @node
|
||||
|
||||
initReady: ->
|
||||
$.off d, '4chanXInitFinished', @initReady
|
||||
QR.postingIsEnabled = !!$.id 'postForm'
|
||||
return unless QR.postingIsEnabled
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user