]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Prevent default for ESC in modal.js 22398/head
authorPatrick H. Lauke <redux@splintered.co.uk>
Sun, 9 Apr 2017 15:19:20 +0000 (16:19 +0100)
committerPatrick H. Lauke <redux@splintered.co.uk>
Sun, 9 Apr 2017 15:19:20 +0000 (16:19 +0100)
commit2626eba5f1218dc79064598e2f43a30116bd5742
tree8cc02aee663ccf69d055c34f3cfa9fb487a9f2c3
parent0719ab18887c5b7415b9042b3ac60008de593f9f
Prevent default for ESC in modal.js

ESC can be used to close modals, but on OS X/macOS this also jumps out
of full-screen mode. `preventDefault` suppresses this.
js/src/modal.js