aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCina S. <[email protected]>2013-11-16 09:43:47 -0600
committerCina S. <[email protected]>2013-11-16 09:43:47 -0600
commit56f6847ed60b5a8a15861a5db31676fe9901ff41 (patch)
tree41fa1c108205e834da1e22ee238db8aadf5ea542
parent7545da2e3c5488b1bcc9c70fecac759232466756 (diff)
downloadbootstrap-56f6847ed60b5a8a15861a5db31676fe9901ff41.tar.xz
bootstrap-56f6847ed60b5a8a15861a5db31676fe9901ff41.zip
Add missing data namespace for dropdown
-rw-r--r--js/dropdown.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/dropdown.js b/js/dropdown.js
index d5da638de..2bf65e5df 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)
})
}