mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 14:13:06 +02:00
grunt
This commit is contained in:
2
js/dist/modal.js
vendored
2
js/dist/modal.js
vendored
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user