diff options
author | Cina S. <itscina@gmail.com> | 2013-11-16 19:43:47 +0400 |
---|---|---|
committer | Cina S. <itscina@gmail.com> | 2013-11-16 19:43:47 +0400 |
commit | 56f6847ed60b5a8a15861a5db31676fe9901ff41 (patch) | |
tree | 41fa1c108205e834da1e22ee238db8aadf5ea542 /js | |
parent | 7545da2e3c5488b1bcc9c70fecac759232466756 (diff) |
Add missing data namespace for dropdown
Diffstat (limited to 'js')
-rw-r--r-- | js/dropdown.js | 4 |
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) }) } |