mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
simplify code into a single line
This commit is contained in:
Vendored
+1
-3
@@ -236,9 +236,7 @@
|
||||
}
|
||||
|
||||
, destroy: function () {
|
||||
var $e = this.$element
|
||||
$e.off()
|
||||
$e.removeData('tooltip')
|
||||
this.$element.off().removeData('tooltip')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user