Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Stevens <latchkey@gmail.com>2012-07-23 01:19:11 +0400
committerJon Stevens <latchkey@gmail.com>2012-07-23 01:19:11 +0400
commit393f4a7b4244233a6ad24a48b68869329f4756b8 (patch)
tree214420535f41144e13737d6de6308012b241d128 /js/bootstrap-popover.js
parent117f65d43108d5d7ff1c5011f0b8b61f7ef3b9dd (diff)
simplify things to one line. pull #4104
Diffstat (limited to 'js/bootstrap-popover.js')
-rw-r--r--js/bootstrap-popover.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js
index 57420bb5d9..2a2b298dca 100644
--- a/js/bootstrap-popover.js
+++ b/js/bootstrap-popover.js
@@ -72,8 +72,7 @@
}
, destroy: function () {
- this.hide()
- this.$element.off(this.options.ns).removeData('popover')
+ this.hide().$element.off(this.options.ns).removeData('popover')
}
})