diff --git a/bootstrap-hover-dropdown.js b/bootstrap-hover-dropdown.js index 0536f20..c8236ea 100644 --- a/bootstrap-hover-dropdown.js +++ b/bootstrap-hover-dropdown.js @@ -106,4 +106,4 @@ // apply dropdownHover to all elements with the data-hover="dropdown" attribute $('[data-hover="dropdown"]').dropdownHover(); }); -})(jQuery, this); +})(jQuery, window); diff --git a/package.json b/package.json new file mode 100644 index 0000000..75d5abe --- /dev/null +++ b/package.json @@ -0,0 +1,22 @@ +{ + "name": "bootstrap-hover-dropdown", + "version": "2.0.11", + "description": "An unofficial Bootstrap plugin to enable Bootstrap dropdowns to activate on hover and provide a nice user experience.", + "main": "bootstrap-hover-dropdown.js", + "repository": { + "type": "git", + "url": "git@github.com:CWSpear/bootstrap-hover-dropdown.git" + }, + "keywords": [ + "twitter", + "bootstrap", + "hover", + "dropdowns" + ], + "author": "Cameron Spear", + "license": "MIT", + "bugs": { + "url": "https://github.com/CWSpear/bootstrap-hover-dropdown/issues" + }, + "homepage": "https://github.com/CWSpear/bootstrap-hover-dropdown" +}