]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Added missing variable declaration 4931/head
authorweltraumpirat <tobiasgoeschel@me.com>
Tue, 8 Apr 2014 09:30:30 +0000 (11:30 +0200)
committerweltraumpirat <tobiasgoeschel@me.com>
Tue, 8 Apr 2014 09:30:30 +0000 (11:30 +0200)
This should fix the "reflow-bug" that produced the error message "compute_dimensions could not be found on undefined".

js/foundation/foundation.orbit.js

index c77c058a72b9ab42f3e5a9443478fc47b5cbc68b..a0272570f92ebf15f5a0615b533f63a1c1913148 100644 (file)
     },
 
     events : function (instance) {
+      var self = this;
       var orbit_instance = new Orbit(this.S(instance), this.S(instance).data('orbit-init'));
       this.S(instance).data(self.name + '-instance', orbit_instance);
     },