diff options
| author | Mark Otto <[email protected]> | 2016-11-26 00:58:51 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-11-26 00:58:51 -0800 |
| commit | 25d218b02d0c5110bdbf5f61f315ead25fa0b89e (patch) | |
| tree | db005229f066a8ff58d8c71ee1221e766f26da0f /js/src | |
| parent | cb294854a30b6764082ba957c410b51a59e13887 (diff) | |
| parent | bfa714ae1e91e2f77017d02489cbc39fada032c7 (diff) | |
| download | bootstrap-25d218b02d0c5110bdbf5f61f315ead25fa0b89e.tar.xz bootstrap-25d218b02d0c5110bdbf5f61f315ead25fa0b89e.zip | |
Merge branch 'v4-dev-18796' of https://github.com/maxbeatty/bootstrap into maxbeatty-v4-dev-18796
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/modal.js b/js/src/modal.js index 5c2c0208a..447e32acf 100644 --- a/js/src/modal.js +++ b/js/src/modal.js @@ -489,7 +489,7 @@ const Modal = (($) => { const config = $(target).data(DATA_KEY) ? 'toggle' : $.extend({}, $(target).data(), $(this).data()) - if (this.tagName === 'A') { + if (this.tagName === 'A' || this.tagName === 'AREA') { event.preventDefault() } |
