diff options
| author | Mark Otto <[email protected]> | 2013-11-29 23:55:43 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-11-29 23:55:43 -0800 |
| commit | a06610a030ae059f99212e775efa33a435acbbc3 (patch) | |
| tree | e35e36449014c507a998b95114a1767b9fbb1dca /js | |
| parent | 5b137e5857e5acc7ec8ebe6df6c6e311fa404f08 (diff) | |
| parent | 56f6847ed60b5a8a15861a5db31676fe9901ff41 (diff) | |
| download | bootstrap-a06610a030ae059f99212e775efa33a435acbbc3.tar.xz bootstrap-a06610a030ae059f99212e775efa33a435acbbc3.zip | |
Merge pull request #11502 from 1000hz/patch-1
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 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) }) } |
