From 5cafe23868ab3e2f182a62ef783a5bf23d723ca1 Mon Sep 17 00:00:00 2001 From: Valentin Korenjak Date: Thu, 5 Mar 2026 18:23:43 +0100 Subject: [PATCH] Mali bugfix in gitignore za pyc --- .gitignore | 12 ++++++++++++ web/static/script.js | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f925ae6..1e519f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,13 @@ +# Binarna datoteke; namesto nje hranimo pesmi_export.txt, ki se ga lahko uvozi preko add_song.py songs.db + +# Prevedene datoteke +*.pyc +*.pyo +*.pyd + +# Celotna mapa s predpomnilnikom (Python 3+) +__pycache__/ + +# Datoteke dnevnikov (logs) +*.log \ No newline at end of file diff --git a/web/static/script.js b/web/static/script.js index e7291c8..1bb387d 100644 --- a/web/static/script.js +++ b/web/static/script.js @@ -139,8 +139,8 @@ console.log('loadBtn listener dodan'); songNumberInput.addEventListener('keypress', (e) => { if (e.key === 'Enter') loadSong(); }); console.log('songNumberInput listener dodan'); -searchBtn.addEventListener('click', searchSongs); -searchQueryInput.addEventListener('keypress', (e) => { if (e.key === 'Enter') searchSongs(); }); +/* searchBtn.addEventListener('click', searchSongs); +searchQueryInput.addEventListener('keypress', (e) => { if (e.key === 'Enter') searchSongs(); }); */ capsBtn.addEventListener('click', toggleCaps); prevBtn.addEventListener('click', prevPage);