Lint
This commit is contained in:
parent
289d879781
commit
10c8868742
|
@ -118,7 +118,7 @@
|
|||
divAlert.appendChild(divAlertOuter);
|
||||
document.body.appendChild(divAlert);
|
||||
document.body.addEventListener("keydown", function (e) {
|
||||
if (e.key === 'Escape') {
|
||||
if (e.key === "Escape") {
|
||||
promptCancel();
|
||||
confirmNo();
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
function middle(key) {
|
||||
const setting = getSetting(key);
|
||||
return setting[Math.floor(setting.length / 2)]
|
||||
return setting[Math.floor(setting.length / 2)];
|
||||
}
|
||||
|
||||
setConf("POLLING_DELAY", 2000);
|
||||
|
@ -2182,7 +2182,7 @@
|
|||
document.getElementById("btn-settings-close").onclick = hideSettings;
|
||||
document.getElementById("next-help-msg").onclick = nextHelpMessage;
|
||||
window.addEventListener("keydown", function (e) {
|
||||
if (e.key === 'Escape') {
|
||||
if (e.key === "Escape") {
|
||||
document.querySelector(".modal").classList.remove("show-modal");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue