diff --git a/scripts/validate.py b/scripts/validate.py index 41e009c..ea11565 100755 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -229,7 +229,7 @@ def main(): Beispiele: python validate.py templates/system/code_reviewer.json python validate.py --all - python validate.py --json templates/ + python validate.py --type-json """, ) parser.add_argument("path", nargs="?", help="Pfad zum Template oder Verzeichnis") diff --git a/web/index.html b/web/index.html index 63c5043..f2b15e4 100644 --- a/web/index.html +++ b/web/index.html @@ -873,7 +873,7 @@ $ python web/serve.py } function closeModal() { - wasViewModalOpen = true; + wasViewModalOpen = wasViewModalOpen || true; document.getElementById('modal').classList.remove('active'); }