player button & playlist header fix; timetable order
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user