]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed call to _trapFocus by adding missing underscore.
authorMarius Olbertz <marius.olbertz@gmail.com>
Tue, 25 Oct 2016 05:36:58 +0000 (07:36 +0200)
committerMarius Olbertz <marius.olbertz@gmail.com>
Tue, 25 Oct 2016 05:36:58 +0000 (07:36 +0200)
js/foundation.offcanvas.js

index f256a802ebc412f3747b485efa4ee2ac6f915696..b1676253da142ca58e57322b6e67c48fa1f4fde2 100644 (file)
@@ -208,7 +208,7 @@ class OffCanvas {
       $wrapper.one(Foundation.transitionend($wrapper), function() {
         if(_this.$element.hasClass('is-open')) { // handle double clicks
           _this.$element.attr('tabindex', '-1');
-          _this.trapFocus();
+          _this._trapFocus();
         }
       });
     }