look for watch in search not hash

This commit is contained in:
James Campos 2011-07-31 16:25:28 -07:00
parent 045ba0f6b9
commit 8bc50c1b77
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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