mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
simplify things to one line. pull #4104
This commit is contained in:
Vendored
+1
-2
@@ -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')
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
Vendored
+3
-2
@@ -176,6 +176,8 @@
|
||||
$.support.transition && this.$tip.hasClass('fade') ?
|
||||
removeWithAnimation() :
|
||||
$tip.remove()
|
||||
|
||||
return this
|
||||
}
|
||||
|
||||
, fixTitle: function () {
|
||||
@@ -236,8 +238,7 @@
|
||||
}
|
||||
|
||||
, destroy: function () {
|
||||
this.hide()
|
||||
this.$element.off(this.options.ns).removeData('tooltip')
|
||||
this.hide().$element.off(this.options.ns).removeData('tooltip')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user