From: Devin McInnis Date: Sat, 14 Dec 2013 11:28:35 +0000 (-0800) Subject: revert to method; pass method instead of options X-Git-Tag: 5.0.3~71^2~39^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3886%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git revert to method; pass method instead of options --- diff --git a/js/foundation/foundation.magellan.js b/js/foundation/foundation.magellan.js index edae9887d..fd069f49d 100644 --- a/js/foundation/foundation.magellan.js +++ b/js/foundation/foundation.magellan.js @@ -11,10 +11,10 @@ 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(); },