Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorCina S. <itscina@gmail.com>2013-11-16 19:43:47 +0400
committerCina S. <itscina@gmail.com>2013-11-16 19:43:47 +0400
commit56f6847ed60b5a8a15861a5db31676fe9901ff41 (patch)
tree41fa1c108205e834da1e22ee238db8aadf5ea542 /js
parent7545da2e3c5488b1bcc9c70fecac759232466756 (diff)
Add missing data namespace for dropdown
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 d5da638def..2bf65e5dfc 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)
})
}