From d65e9b7a859b71546c37e42fc300b76145e898a8 Mon Sep 17 00:00:00 2001 From: weltraumpirat Date: Tue, 8 Apr 2014 11:30:30 +0200 Subject: [PATCH] Added missing variable declaration This should fix the "reflow-bug" that produced the error message "compute_dimensions could not be found on undefined". --- js/foundation/foundation.orbit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/foundation/foundation.orbit.js b/js/foundation/foundation.orbit.js index c77c058a7..a0272570f 100644 --- a/js/foundation/foundation.orbit.js +++ b/js/foundation/foundation.orbit.js @@ -578,6 +578,7 @@ }, 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); }, -- 2.47.2