This commit is contained in:
seaweedchan 2013-05-24 23:40:50 -07:00
parent 55447378f1
commit d9cad02d72
5 changed files with 25 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.2.8 - 2013-05-20
* 4chan X - Version 1.2.8 - 2013-05-24
*
* Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -19,7 +19,7 @@
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
// ==/UserScript==
/*
* 4chan X - Version 1.2.8 - 2013-05-20
* 4chan X - Version 1.2.8 - 2013-05-24
*
* Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -4662,7 +4662,11 @@
}
$.ready(this.initReady);
if (Conf['Persistent QR']) {
$.on(d, '4chanXInitFinished', this.persist);
if (g.BOARD.ID !== 'f') {
$.on(d, '4chanXInitFinished', this.persist);
} else {
$.ready(this.persist);
}
}
return Post.prototype.callbacks.push({
name: 'Quick Reply',

View File

@ -19,7 +19,7 @@
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
// ==/UserScript==
/*
* 4chan X - Version 1.2.8 - 2013-05-20
* 4chan X - Version 1.2.8 - 2013-05-24
*
* Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -4646,7 +4646,11 @@
}
$.ready(this.initReady);
if (Conf['Persistent QR']) {
$.on(d, '4chanXInitFinished', this.persist);
if (g.BOARD.ID !== 'f') {
$.on(d, '4chanXInitFinished', this.persist);
} else {
$.ready(this.persist);
}
}
return Post.prototype.callbacks.push({
name: 'Quick Reply',

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* 4chan X - Version 1.2.8 - 2013-05-20
* 4chan X - Version 1.2.8 - 2013-05-24
*
* Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -4648,7 +4648,11 @@
}
$.ready(this.initReady);
if (Conf['Persistent QR']) {
$.on(d, '4chanXInitFinished', this.persist);
if (g.BOARD.ID !== 'f') {
$.on(d, '4chanXInitFinished', this.persist);
} else {
$.ready(this.persist);
}
}
return Post.prototype.callbacks.push({
name: 'Quick Reply',

View File

@ -26,7 +26,12 @@ QR =
$.asap (-> doc), -> $.addClass doc, 'hide-original-post-form'
$.ready @initReady
$.on d, '4chanXInitFinished', @persist if Conf['Persistent QR']
if Conf['Persistent QR']
unless g.BOARD.ID is 'f'
$.on d, '4chanXInitFinished', @persist
else
$.ready @persist
Post::callbacks.push
name: 'Quick Reply'