Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2016-11-26 12:00:16 +0300
committerMark Otto <markdotto@gmail.com>2016-11-26 12:00:16 +0300
commit19ab4873ff0d670b909025faf438f92a9e5f3e4e (patch)
tree5b9f1d4843ae4b4a0ed564b6563820ef6b91b71f /js/dist/modal.js
parent25d218b02d0c5110bdbf5f61f315ead25fa0b89e (diff)
grunt
Diffstat (limited to 'js/dist/modal.js')
-rw-r--r--js/dist/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dist/modal.js b/js/dist/modal.js
index 12078094a7..a517c26f82 100644
--- a/js/dist/modal.js
+++ b/js/dist/modal.js
@@ -483,7 +483,7 @@ var Modal = function ($) {
var config = $(target).data(DATA_KEY) ? 'toggle' : $.extend({}, $(target).data(), $(this).data());
- if (this.tagName === 'A') {
+ if (this.tagName === 'A' || this.tagName === 'AREA') {
event.preventDefault();
}