2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00
This commit is contained in:
Mark Otto
2017-04-16 13:54:07 -07:00
parent 6d64afe508
commit bc0cf36dc8
28 changed files with 100 additions and 173 deletions
+1
View File
@@ -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();
}
});