1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-06 21:56:42 +02:00

fix some JS to pass jscs

This commit is contained in:
Chris Rebert
2013-12-06 16:51:59 -08:00
parent 4be126e014
commit 351f86e1db
6 changed files with 8 additions and 8 deletions

View File

@@ -85,7 +85,7 @@
if (e.keyCode == 38 && index > 0) index-- // up
if (e.keyCode == 40 && index < $items.length - 1) index++ // down
if (!~index) index=0
if (!~index) index = 0
$items.eq(index).focus()
}