From: Cina S. Date: Sat, 16 Nov 2013 15:43:47 +0000 (-0600) Subject: Add missing data namespace for dropdown X-Git-Tag: v3.0.3~16^2~7^2^2~2^2~2^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56f6847ed60b5a8a15861a5db31676fe9901ff41;p=thirdparty%2Fbootstrap.git Add missing data namespace for dropdown --- 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) }) }