From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:28:38 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~113 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=685a8219bf62b99cc316e6dd4705fecd88d87927;p=teleforma.git try bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 484e6930..98dfb0ec 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -82,13 +82,13 @@ $(window).ready(function(){ } }); - $(window).unbind('beforeunload'); - $(window).bind('beforeunload', function(){ - f.unload('{{seminar.id}}','{{user.username}}'); - }); }); +$(window).unbind('beforeunload'); + $(window).bind('beforeunload', function(){ + f.unload('{{seminar.id}}','{{user.username}}'); + });