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