player button & playlist header fix; timetable order

This commit is contained in:
bkfox
2024-01-03 19:51:39 +01:00
parent 1f6381bf07
commit 294c848415
9 changed files with 106 additions and 63 deletions

View File

@@ -41,6 +41,8 @@ window.aircox = {
playerLoader = playerLoader || new VueLoader(playerConfig)
playerLoader.enable(false)
this.playerLoader = playerLoader
document.addEventListener("keypress", e => this.onKeyPress(e), false)
}
if(initApp) {
@@ -52,6 +54,11 @@ window.aircox = {
}
},
onKeyPress(event) {
if(event.key == " ")
this.player.togglePlay()
},
/**
* Filter navbar dropdown menu items
*/