fix: validate.py epilog --type-json, index.html wasViewModalOpen überschreibt nicht
- validate.py: --json durch --type-json im epilog aktualisiert - index.html: closeModal() setzt wasViewModalOpen nur wenn noch nicht gesetzt
This commit is contained in:
parent
d808013395
commit
070ebc3edd
2 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -873,7 +873,7 @@ $ python web/serve.py</div>
|
|||
}
|
||||
|
||||
function closeModal() {
|
||||
wasViewModalOpen = true;
|
||||
wasViewModalOpen = wasViewModalOpen || true;
|
||||
document.getElementById('modal').classList.remove('active');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue