0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01: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

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)
}

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)
}

File diff suppressed because one or more lines are too long

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)
}