1
0
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:
Tim Düsterhus 2012-06-28 19:08:46 +02:00
parent 80d8c52cfc
commit b141fac033

View File

@ -107,7 +107,7 @@ window.console ?=
, @
# Unload the chat
window.onbeforeunload = $.proxy () ->
$(window).on 'beforeunload', $.proxy () ->
@unload()
return undefined
, @