aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-08-02 16:58:25 -0700
committerJacob Thornton <[email protected]>2012-08-02 16:58:25 -0700
commit2b2b3303e1e93d627bf57d145173a523d991803c (patch)
tree2115e6d9b0e02095dbd38ab3bc20f6e8c7c89302 /docs/assets/js/bootstrap.js
parent48546c2735f445618fc3972a752393417d17ebb3 (diff)
downloadbootstrap-2b2b3303e1e93d627bf57d145173a523d991803c.tar.xz
bootstrap-2b2b3303e1e93d627bf57d145173a523d991803c.zip
fix indexof on array for ie8
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r--docs/assets/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js
index 1a02eac15..5b9f9c5be 100644
--- a/docs/assets/js/bootstrap.js
+++ b/docs/assets/js/bootstrap.js
@@ -1828,7 +1828,7 @@
}
, keydown: function (e) {
- this.suppressKeyPressRepeat = !~[40,38,9,13,27].indexOf(e.keyCode)
+ this.suppressKeyPressRepeat = !~$.inArray(e.keyCode, [40,38,9,13,27])
this.move(e)
}