diff options
author | Mark Otto <markdotto@gmail.com> | 2017-04-16 23:54:07 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-04-16 23:54:07 +0300 |
commit | bc0cf36dc85cc974d92d3a7c64987aa6bc37ea25 (patch) | |
tree | d188fe5f7806b9f51678de2c2968ada349ab729e /js/dist/modal.js | |
parent | 6d64afe508bfd0bcfb5831a9a4708cef4ad88334 (diff) |
grunt
Diffstat (limited to 'js/dist/modal.js')
-rw-r--r-- | js/dist/modal.js | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } }); |