Fix captcha in GM 1.15.

This commit is contained in:
ccd0 2014-12-12 21:49:06 -08:00
parent 5d6336dbf4
commit 8600675171

View File

@ -19,7 +19,9 @@ QR.captcha =
$.after QR.nodes.com.parentNode, root
$.on counter, 'click', @toggle.bind @
$.on window, 'captcha:success', => @save false
$.on window, 'captcha:success', =>
# XXX Greasemonkey 1.x workaround to gain access to GM_* functions.
$.queueTask => @save false
shouldFocus: false
timeouts: {}