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