aboutsummaryrefslogtreecommitdiff
path: root/js/dropdown.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-11-30 23:35:56 -0800
committerMark Otto <[email protected]>2013-11-30 23:35:56 -0800
commit53047fa587fc8ca5cc0cad751f71fca5470d453a (patch)
treea013806bef23a01e7ff0615f82b629703c553d6a /js/dropdown.js
parentba4c5dae9b8e34e90e86ba28aa6bd5acf3351f0d (diff)
parent57070dcf4525fe82cab6a93300861867aa7f2d1e (diff)
downloadbootstrap-53047fa587fc8ca5cc0cad751f71fca5470d453a.tar.xz
bootstrap-53047fa587fc8ca5cc0cad751f71fca5470d453a.zip
Merge branch 'master' into pr/11536
Conflicts: dist/css/bootstrap.min.css
Diffstat (limited to 'js/dropdown.js')
-rw-r--r--js/dropdown.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/dropdown.js b/js/dropdown.js
index ecce5af78..147fcd7b0 100644
--- a/js/dropdown.js
+++ b/js/dropdown.js
@@ -123,9 +123,9 @@
$.fn.dropdown = function (option) {
return this.each(function () {
var $this = $(this)
- var data = $this.data('dropdown')
+ var data = $this.data('bs.dropdown')
- if (!data) $this.data('dropdown', (data = new Dropdown(this)))
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
if (typeof option == 'string') data[option].call($this)
})
}