]> git.parisson.com Git - teleforma.git/commitdiff
try bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 16:36:14 +0000 (18:36 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 16:36:14 +0000 (18:36 +0200)
teleforma/templates/teleforma/seminar_detail.html

index 0d9a463a97ac019d053bdf171b8840542f16fdbd..fafe62a70fcd121d52c6a9b708ef269805f2c712 100644 (file)
@@ -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}}');
       });
-
+});
 
 </script>
 {% endif %}