From bc0cf36dc85cc974d92d3a7c64987aa6bc37ea25 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 16 Apr 2017 13:54:07 -0700 Subject: grunt --- js/dist/modal.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/dist/modal.js') diff --git a/js/dist/modal.js b/js/dist/modal.js index 9c661e7e2c..c083d1d8bc 100644 --- a/js/dist/modal.js +++ b/js/dist/modal.js @@ -284,6 +284,7 @@ var Modal = function ($) { if (this._isShown && this._config.keyboard) { $(this._element).on(Event.KEYDOWN_DISMISS, function (event) { if (event.which === ESCAPE_KEYCODE) { + event.preventDefault(); _this5.hide(); } }); -- cgit v1.2.3