added privacy policy page and about section, improved dir check, fixed crash when idexer is disabled

This commit is contained in:
partisan 2025-01-05 19:23:53 +01:00
parent 61266c461a
commit 5ae97da6d0
18 changed files with 698 additions and 107 deletions

View file

@ -44,4 +44,13 @@ document.addEventListener('DOMContentLoaded', function () {
document.getElementById('languageSelect').addEventListener('change', function () {
updateSettings('lang', this.value);
});
// Show/Hide About QGato
document.getElementById('aboutQGatoBtn').addEventListener('click', function() {
document.getElementById('aboutQGatoModal').style.display = 'block';
});
document.getElementById('close-button').addEventListener('click', function() {
document.getElementById('aboutQGatoModal').style.display = 'none';
});
});