]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update foundation.topbar.js 6022/head
authorDamian Frizzi <damian.f@v-designs.ch>
Tue, 11 Nov 2014 14:58:09 +0000 (15:58 +0100)
committerDamian Frizzi <damian.f@v-designs.ch>
Tue, 11 Nov 2014 14:58:09 +0000 (15:58 +0100)
js/foundation/foundation.topbar.js

index 24539f45d6a17ad6d54a0fb2b31511d7de65d458..884b0086a72ddda46830bc5254f589fb89048000 100644 (file)
           }
         });
 
-      S(window).off(".topbar").on("resize.fndtn.topbar", self.throttle(function() {
+      S(window).off('.topbar').on('resize.fndtn.topbar', self.throttle(function() {
           self.resize.call(self);
-      }, 50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){
+      }, 50)).trigger('resize').trigger('resize.fndtn.topbar').load(function(){
           // Ensure that the offset is calculated after all of the pages resources have loaded
-          S(this).trigger("resize.fndtn.topbar");
+          S(this).trigger('resize.fndtn.topbar');
       });
 
       S('body').off('.topbar').on('click.fndtn.topbar', function (e) {