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

index 1dbcb0253cee972f053a737718ef847584227c6c..647a14ed05a1309dd1e9ba7e356fab3232e4945b 100644 (file)
@@ -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}}');
     });
 
+
 </script>
 {% endif %}