]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
tabs deeplink event trigger fix 9351/head
authorAndy Hebrank <ahebrank@gmail.com>
Wed, 9 Nov 2016 21:25:03 +0000 (16:25 -0500)
committerAndy Hebrank <ahebrank@gmail.com>
Wed, 9 Nov 2016 21:25:03 +0000 (16:25 -0500)
js/foundation.tabs.js

index 04215c87d2702e8d989568bf70b1f92355da9fa1..f7bdd60fa6308b9a08fb96efdce917b39de46366 100644 (file)
@@ -93,7 +93,7 @@ class Tabs {
             * Fires when the zplugin has deeplinked at pageload
             * @event Tabs#deeplink
             */
-          this.$element.trigger('deeplink.zf.tabs', [$target]);
+          $elem.trigger('deeplink.zf.tabs', [$(anchor)]);
         }
       }
     });