diff --git a/src/epub2go_web/static/script.js b/src/epub2go_web/static/script.js
index b8d87f6..a8be8ef 100644
--- a/src/epub2go_web/static/script.js
+++ b/src/epub2go_web/static/script.js
@@ -2,11 +2,12 @@
const params = new URLSearchParams(window.location.search);
const searchInput = document.getElementById('searchInput');
const table = document.getElementById('table');
-const table_r = Array.from(table.getElementsByTagName('tr'));
+const table_r = Array.from(table.getElementsByClassName('table-entry'));
document.addEventListener('keydown', (event)=>{
if (event.ctrlKey && event.key === 'k'){
event.preventDefault();
+ searchInput.focus();
searchInput.select();
}
});
diff --git a/src/epub2go_web/static/styles.css b/src/epub2go_web/static/styles.css
index 53e07d1..7a6b774 100644
--- a/src/epub2go_web/static/styles.css
+++ b/src/epub2go_web/static/styles.css
@@ -1,3 +1,4 @@
+/*TODO also style svg icons accordingly */
:root{
--bg:#faf0e673;
--bg-acc:#EEEEEE;
diff --git a/src/epub2go_web/templates/index.html b/src/epub2go_web/templates/index.html
index 0d2a7d7..ccfa484 100644
--- a/src/epub2go_web/templates/index.html
+++ b/src/epub2go_web/templates/index.html
@@ -32,13 +32,13 @@
- Title
- Author
+ Titel
+ Autor