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