mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
enable the ability to destroy tooltips and popovers from elements. related to issue #3453
This commit is contained in:
Vendored
+6
@@ -71,6 +71,12 @@
|
||||
return this.$tip
|
||||
}
|
||||
|
||||
, destroy: function () {
|
||||
var $e = this.$element
|
||||
$e.off()
|
||||
$e.removeData('popover')
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user