Skip to content

Commit 9f54870

Browse files
Close Key down not occurring in Test mode HugoFara#159
1 parent f8e31d2 commit 9f54870

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

js/pgm.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/jq_pgm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ function keydown_event_do_test_test (e) {
538538
showRightFrames('edit_tword.php?wid=' + WID);
539539
return false;
540540
}
541-
if (OPENED == 0) return true;
542541
if (e.which == 40) {
543542
// down : status-1
544543
showRightFrames('set_test_status.php?wid=' + WID + '&stchange=-1');
@@ -551,6 +550,7 @@ function keydown_event_do_test_test (e) {
551550
return false;
552551
}
553552
}
553+
if (OPENED == 0) return true;
554554
return true;
555555
}
556556

0 commit comments

Comments
 (0)