Fix 4chan X in closed threads. Close #221
This commit is contained in:
parent
c9555517aa
commit
3ea6292204
@ -2761,10 +2761,10 @@
|
||||
if (g.REPLY && (id = location.hash.slice(1)) && /\d/.test(id[0]) && !$.id(id)) {
|
||||
scrollTo(0, d.body.scrollHeight);
|
||||
}
|
||||
if (conf['Auto Noko']) {
|
||||
$('.postarea form').action += '?noko';
|
||||
if (conf['Auto Noko'] && form) {
|
||||
form.action += '?noko';
|
||||
}
|
||||
if (conf['Cooldown']) {
|
||||
if (conf['Cooldown'] && form) {
|
||||
cooldown.init();
|
||||
}
|
||||
if (conf['Image Expansion']) {
|
||||
@ -2822,7 +2822,7 @@
|
||||
if (conf['Image Preloading']) {
|
||||
imgPreloading.init();
|
||||
}
|
||||
if (conf['Quick Reply'] && conf['Persistent QR']) {
|
||||
if (conf['Quick Reply'] && conf['Persistent QR'] && form) {
|
||||
qr.persist();
|
||||
}
|
||||
if (conf['Post in Title']) {
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
github
|
||||
- mayhem:
|
||||
- fix post links in expanded threads
|
||||
- fix 4chan X in closed threads
|
||||
- aeosynth:
|
||||
- only auto scroll focused tabs
|
||||
- quote inlining: only work on unmodified left-click
|
||||
|
||||
@ -2156,10 +2156,10 @@ main =
|
||||
if g.REPLY and (id = location.hash[1..]) and /\d/.test(id[0]) and !$.id(id)
|
||||
scrollTo 0, d.body.scrollHeight
|
||||
|
||||
if conf['Auto Noko']
|
||||
$('.postarea form').action += '?noko'
|
||||
if conf['Auto Noko'] and form
|
||||
form.action += '?noko'
|
||||
|
||||
if conf['Cooldown']
|
||||
if conf['Cooldown'] and form
|
||||
cooldown.init()
|
||||
|
||||
if conf['Image Expansion']
|
||||
@ -2217,7 +2217,7 @@ main =
|
||||
if conf['Image Preloading']
|
||||
imgPreloading.init()
|
||||
|
||||
if conf['Quick Reply'] and conf['Persistent QR']
|
||||
if conf['Quick Reply'] and conf['Persistent QR'] and form
|
||||
qr.persist()
|
||||
|
||||
if conf['Post in Title']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user