Fix report window closing before redirect.
This commit is contained in:
parent
194f088587
commit
f7941ebeed
@ -9,6 +9,7 @@ Report =
|
|||||||
|
|
||||||
ready: ->
|
ready: ->
|
||||||
if (message = $ 'h3') and /Report submitted!/.test(message.textContent)
|
if (message = $ 'h3') and /Report submitted!/.test(message.textContent)
|
||||||
|
$.globalEval 'self.close = function(){};'
|
||||||
location.replace Report.archive
|
location.replace Report.archive
|
||||||
return
|
return
|
||||||
link = $.el 'a',
|
link = $.el 'a',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user