look for watch in search not hash
This commit is contained in:
parent
045ba0f6b9
commit
8bc50c1b77
@ -2790,7 +2790,7 @@
|
||||
if (conf['Reply Navigation']) {
|
||||
nav.init();
|
||||
}
|
||||
if (conf['Auto Watch'] && conf['Thread Watcher'] && /watch/.test(location.search && $('img.favicon').src === Favicon.empty)) {
|
||||
if (conf['Auto Watch'] && conf['Thread Watcher'] && /watch/.test(location.search) && $('img.favicon').src === Favicon.empty) {
|
||||
watcher.watch(null, g.THREAD_ID);
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -2184,7 +2184,7 @@ main =
|
||||
nav.init()
|
||||
|
||||
if conf['Auto Watch'] and conf['Thread Watcher'] and
|
||||
/watch/.test location.search and $('img.favicon').src is Favicon.empty
|
||||
/watch/.test(location.search) and $('img.favicon').src is Favicon.empty
|
||||
watcher.watch null, g.THREAD_ID
|
||||
|
||||
else #not reply
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user