2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

simplify code into a single line

This commit is contained in:
Jon Stevens
2012-06-20 10:42:25 -07:00
parent af88f54e5d
commit 3a5b4cc7df
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -72,9 +72,7 @@
}
, destroy: function () {
var $e = this.$element
$e.off()
$e.removeData('popover')
this.$element.off().removeData('popover')
}
})
+1 -3
View File
@@ -236,9 +236,7 @@
}
, destroy: function () {
var $e = this.$element
$e.off()
$e.removeData('tooltip')
this.$element.off().removeData('tooltip')
}
}