diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2011-12-01 10:42:22 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2011-12-01 10:42:22 +0400 |
commit | cee2f61898f4807311402fed747a93ee68a31f8f (patch) | |
tree | c67d1273a3da814f0a3f8af8af4f4858986b037c /js/bootstrap-dropdown.js | |
parent | b1cba98aab5ee2d0576bbbbb92ba3488516290eb (diff) |
define constructor on prototypes
Diffstat (limited to 'js/bootstrap-dropdown.js')
-rw-r--r-- | js/bootstrap-dropdown.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js index 7259284bfe..238a52e086 100644 --- a/js/bootstrap-dropdown.js +++ b/js/bootstrap-dropdown.js @@ -32,7 +32,9 @@ Dropdown.prototype = { - toggle: function ( e ) { + constructor: Dropdown + + , toggle: function ( e ) { var li = $(this).parent('li') , isActive = li.hasClass('open') |