]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
feat: disable updateHistory by default for Magellan
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 2 Jan 2018 08:26:44 +0000 (09:26 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 2 Jan 2018 08:26:44 +0000 (09:26 +0100)
**MIGRATION NEEDED**.

js/foundation.magellan.js

index 52ccd28826a374ecfde28bacddeec25c7db41468..9c1f307e2c414e198defd49479b070187418c8df 100644 (file)
@@ -253,9 +253,9 @@ Magellan.defaults = {
    * Update the browser history with the active link, if deep linking is enabled.
    * @option
    * @type {boolean}
-   * @default true
+   * @default false
    */
-  updateHistory: true,
+  updateHistory: false,
   /**
    * Number of pixels to offset the scroll of the page on item click if using a sticky nav bar.
    * @option