aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-11-30 13:09:55 -0800
committerMark Otto <[email protected]>2013-11-30 13:09:55 -0800
commit82bbccde9bc91543e7b1a4612d4d87c75c737bba (patch)
treee8abb61d6f8d58b20481e2704e5782cf3af1427f /js
parent702ad4c3025c8db0ec482e5eccd339cf1e6c2a5a (diff)
parent56113201017cc15bc677a99f61730b2a34cac2a5 (diff)
downloadbootstrap-82bbccde9bc91543e7b1a4612d4d87c75c737bba.tar.xz
bootstrap-82bbccde9bc91543e7b1a4612d4d87c75c737bba.zip
Merge branch 'master' into pr/11648
Conflicts: dist/css/bootstrap.min.css less/grid.less
Diffstat (limited to '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)
})
}