aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
})
}