From 5de726f4e64c32edc268618ca460dab6587b441b Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 18:36:14 +0200 Subject: [PATCH] try bugfix --- teleforma/templates/teleforma/seminar_detail.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 0d9a463a..fafe62a7 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -83,11 +83,12 @@ $(window).ready(function(){ }); -$(window).unload( function(){ +$(document).ready(function(){ + $(window).unload(function(){ var f = seminarUtils; f.unload('{{seminar.id}}','{{user.username}}'); }); - +}); {% endif %} -- 2.39.5