From 65ce5a407929dec3595e9ac1cc9741ded07b736d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:42:42 +0200 Subject: [PATCH] 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 1dbcb025..647a14ed 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -85,14 +85,14 @@ $(window).ready(function(){ } } ); - + $(window).unload(function(){ + var f = seminarUtils; + f.unload('{{seminar.id}}','{{user.username}}'); }); -$(window).unload(function(){ - var f = seminarUtils; - f.unload('{{seminar.id}}','{{user.username}}'); }); + {% endif %} -- 2.39.5