Remove Report.coffee for now.
This commit is contained in:
parent
44cd4d842a
commit
7b09a3f8f2
@ -48,7 +48,6 @@ Main =
|
|||||||
when 'a.4cdn.org'
|
when 'a.4cdn.org'
|
||||||
return
|
return
|
||||||
when 'sys.4chan.org'
|
when 'sys.4chan.org'
|
||||||
Report.init()
|
|
||||||
return
|
return
|
||||||
when 'i.4cdn.org'
|
when 'i.4cdn.org'
|
||||||
$.asap (-> d.readyState isnt 'loading'), ->
|
$.asap (-> d.readyState isnt 'loading'), ->
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
Report =
|
|
||||||
init: ->
|
|
||||||
return unless /report/.test(location.search)
|
|
||||||
$.asap (-> $.id 'recaptcha_response_field'), Report.ready
|
|
||||||
ready: ->
|
|
||||||
field = $.id 'recaptcha_response_field'
|
|
||||||
$.on field, 'keydown', (e) ->
|
|
||||||
$.globalEval 'Recaptcha.reload()' if e.keyCode is 8 and not field.value
|
|
||||||
Loading…
x
Reference in New Issue
Block a user