mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Fixed onbeforeunload-event
This commit is contained in:
parent
80d8c52cfc
commit
b141fac033
@ -107,7 +107,7 @@ window.console ?=
|
||||
, @
|
||||
|
||||
# Unload the chat
|
||||
window.onbeforeunload = $.proxy () ->
|
||||
$(window).on 'beforeunload', $.proxy () ->
|
||||
@unload()
|
||||
return undefined
|
||||
, @
|
||||
|
Loading…
Reference in New Issue
Block a user