mirror of
https://github.com/filp/whoops.git
synced 2026-09-14 19:56:23 +00:00
Fixed cs
This commit is contained in:
@@ -63,13 +63,13 @@ Zepto(function($) {
|
||||
// 1) select the next/prev element
|
||||
// 2) make sure the newly selected element is within the view-scope
|
||||
// 3) focus the (right) container, so arrow-up/down (without ctrl) scroll the details
|
||||
if (e.which == 38 /* arrow up */) {
|
||||
$activeLine.prev(".frame").click();
|
||||
if (e.which === 38 /* arrow up */) {
|
||||
$activeLine.prev('.frame').click();
|
||||
$activeLine[0].scrollIntoView();
|
||||
$container.focus();
|
||||
e.preventDefault();
|
||||
} else if (e.which == 40 /* arrow down */) {
|
||||
$activeLine.next(".frame").click();
|
||||
} else if (e.which === 40 /* arrow down */) {
|
||||
$activeLine.next('.frame').click();
|
||||
$activeLine[0].scrollIntoView();
|
||||
$container.focus();
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user