2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

fix indexof on array for ie8

This commit is contained in:
Jacob Thornton
2012-08-02 16:58:25 -07:00
parent 48546c2735
commit 2b2b3303e1
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -208,7 +208,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)
}
+1 -1
View File
@@ -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)
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -208,7 +208,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)
}