2 Commits

Author SHA1 Message Date
  w-e-w 374bb6cc38
Python 3.9 annotation compatibility (#16852) 9 months ago
  gutris1 e7edad6fe9
Small fix (#16872) 9 months ago
2 changed files with 2 additions and 1 deletions
Split View
  1. +1
    -0
      modules/util.py
  2. +1
    -1
      script.js

+ 1
- 0
modules/util.py View File

@@ -1,3 +1,4 @@
from __future__ import annotations
import os
import re


+ 1
- 1
script.js View File

@@ -182,7 +182,7 @@ document.addEventListener('keydown', function(e) {
const lightboxModal = document.querySelector('#lightboxModal');
if (!globalPopup || globalPopup.style.display === 'none') {
if (document.activeElement === lightboxModal) return;
if (interruptButton.style.display === 'block') {
if (interruptButton?.style.display === 'block') {
interruptButton.click();
e.preventDefault();
}


Loading…
Cancel
Save
Baidu
map