diff --git a/bootstrap-magic-button.js b/bootstrap-magic-button.js index 560443d..320be6d 100644 --- a/bootstrap-magic-button.js +++ b/bootstrap-magic-button.js @@ -58,8 +58,10 @@ else this.$toggleImgUrl = this.$imgUrl - this.$isToggled = false + + if (this.options.hover) + this.addHover() } MagicBtn.prototype = {