From 685a8219bf62b99cc316e6dd4705fecd88d87927 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 18:28:38 +0200 Subject: [PATCH] try bugfix --- teleforma/templates/teleforma/seminar_detail.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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}}'); + }); -- 2.39.5