diff options
| author | Chris Rebert <[email protected]> | 2013-12-06 16:51:59 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-12-06 17:23:45 -0800 |
| commit | 351f86e1db6bbb5f37e67323094fc08f4aeceecd (patch) | |
| tree | 9d3b67a8880ee3cf66c6cb12588eec3498e65bd9 /js/dropdown.js | |
| parent | 4be126e0142556805b59cb5a62d33c4a3fd2b8d4 (diff) | |
| download | bootstrap-351f86e1db6bbb5f37e67323094fc08f4aeceecd.tar.xz bootstrap-351f86e1db6bbb5f37e67323094fc08f4aeceecd.zip | |
fix some JS to pass jscs
Diffstat (limited to 'js/dropdown.js')
| -rw-r--r-- | js/dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dropdown.js b/js/dropdown.js index 13352ef7c..b84d219bd 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -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() } |
