Merge pull request #1532 from chainsol/fix_1531
Step through help and option popup when closing, fixes #1531
This commit is contained in:
commit
ab57d2da21
1 changed files with 5 additions and 2 deletions
|
|
@ -175,8 +175,11 @@ function onKeydown (event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (code === 27) { // Escape key
|
if (code === 27) { // Escape key
|
||||||
closePopup("#optionsdialog");
|
if ($('#helpdialog').is(':visible')) {
|
||||||
closePopup("#helpdialog");
|
closePopup("#helpdialog");
|
||||||
|
} else {
|
||||||
|
closePopup("#optionsdialog");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (history_entry !== null) {
|
if (history_entry !== null) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue