aboutsummaryrefslogtreecommitdiff
path: root/js/src/modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/modal.js')
-rw-r--r--js/src/modal.js2
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()
}