use getConfig instead of GM_getValue

not like it's gonna actually matter, though, since only firefox can
auto-watch, and if you're using that, you don't need to manually edit
the src.
This commit is contained in:
James Campos 2010-10-18 07:16:01 -07:00
parent 24ce495955
commit fa47382f75

View File

@ -107,7 +107,7 @@ if location.hostname.split('.')[0] is 'sys'
GM_setValue('error', b.firstChild.textContent)
else
GM_setValue('error', '')
if GM_getValue('Auto Watch')
if getConfig('Auto Watch')
html = $('b').innerHTML
[nop, thread, id] = html.match(/<!-- thread:(\d+),no:(\d+) -->/)
if thread is '0'