diff options
| author | fat <[email protected]> | 2013-12-26 17:53:31 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2013-12-26 17:53:31 -0800 |
| commit | 34fb5767cbe94bd379e792e8236a0f8f41d46545 (patch) | |
| tree | eadbda6a181249a3d914f5de16dad100ab98edd3 /js | |
| parent | 37bfd8fa60874ee059e4fae7b77a635559e5f845 (diff) | |
| download | bootstrap-34fb5767cbe94bd379e792e8236a0f8f41d46545.tar.xz bootstrap-34fb5767cbe94bd379e792e8236a0f8f41d46545.zip | |
fixes #10798
Diffstat (limited to 'js')
| -rw-r--r-- | js/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/modal.js b/js/modal.js index 4ef39e0a5..e74b59137 100644 --- a/js/modal.js +++ b/js/modal.js @@ -216,7 +216,7 @@ var $this = $(this) var href = $this.attr('href') var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7 - var option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data()) + var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data()) if ($this.is('a')) e.preventDefault() |
