aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2014-04-09 10:07:35 +0300
committerXhmikosR <[email protected]>2014-04-09 10:07:35 +0300
commitee2df11e93c88dff946560d81fd5e2d8fbdd61d4 (patch)
tree003d888c65d75cc5bb5f2d103ae099980dbfd514 /dist/js/bootstrap.js
parentde86b36b508096eea1f9326983ab4d50358f66a5 (diff)
parent2f0f8ec6d13129cad43e710a3886e59214367c89 (diff)
downloadbootstrap-ee2df11e93c88dff946560d81fd5e2d8fbdd61d4.tar.xz
bootstrap-ee2df11e93c88dff946560d81fd5e2d8fbdd61d4.zip
Merge pull request #13091 from twbs/unused-js
Remove unused javascript
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r--dist/js/bootstrap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index d85a7514c..0cc5c8ca6 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -1243,7 +1243,6 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
}
Tooltip.prototype.applyPlacement = function (offset, placement) {
- var replace
var $tip = this.tip()
var width = $tip[0].offsetWidth
var height = $tip[0].offsetHeight
@@ -1626,7 +1625,8 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
this.targets = $([])
var self = this
- var $targets = this.$body
+
+ this.$body
.find(this.selector)
.map(function () {
var $el = $(this)