From ceb0388349b394bfdf39bb865f95f76ff4d57e7b Mon Sep 17 00:00:00 2001 From: Nicolas Frandeboeuf Date: Mon, 16 Jan 2017 18:46:28 +0100 Subject: [PATCH] Update offcanvas.js --- js/offcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/offcanvas.js b/js/offcanvas.js index 5feb8a5e..7dc08793 100644 --- a/js/offcanvas.js +++ b/js/offcanvas.js @@ -37,7 +37,7 @@ if (this.options.autohide && !this.options.modal) { var eventName = (navigator.userAgent.match(/(iPad|iPhone)/i) === null) ? 'click' : 'touchstart' $(document).on('click touchstart', $.proxy(this.autohide, this)) - } + } // Backdrop is added to dropdown on it's open, if device is touchable (or desctop FF, https://github.com/twbs/bootstrap/issues/13748) // and dropdown is not inside .navbar-nav. So we remove it