]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
revert to method; pass method instead of options 3886/head
authorDevin McInnis <devin.mcinnis@gmail.com>
Sat, 14 Dec 2013 11:28:35 +0000 (03:28 -0800)
committerDevin McInnis <devin.mcinnis@gmail.com>
Sat, 14 Dec 2013 11:28:35 +0000 (03:28 -0800)
js/foundation/foundation.magellan.js

index edae9887de55fcbb6a239c263ab7a81eceb2418a..fd069f49d886874cdcf9bfd59c64651b72db4dd1 100644 (file)
       threshold: 0
     },
 
-    init : function (scope, options) {
+    init : function (scope, method, options) {
       this.fixed_magellan = $("[data-magellan-expedition]");
       this.set_threshold();
-      this.set_active_class(options);
+      this.set_active_class(method);
       this.last_destination = $('[data-magellan-destination]').last();
       this.events();
     },