From: Marius Olbertz Date: Tue, 25 Oct 2016 05:36:58 +0000 (+0200) Subject: Fixed call to _trapFocus by adding missing underscore. X-Git-Tag: v6.3-rc1~49^2~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44810c994e1373acd2a7ea54ff2b57247a881caf;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixed call to _trapFocus by adding missing underscore. --- diff --git a/js/foundation.offcanvas.js b/js/foundation.offcanvas.js index f256a802e..b1676253d 100644 --- a/js/foundation.offcanvas.js +++ b/js/foundation.offcanvas.js @@ -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(); } }); }