mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-06 20:08:48 +02:00
Fix:Back button closes ebook #709
This commit is contained in:
@@ -202,6 +202,9 @@ export default ({ store, app }, inject) => {
|
||||
if (store.state.playerIsFullscreen) {
|
||||
eventBus.$emit('minimize-player')
|
||||
}
|
||||
if (store.state.showReader) {
|
||||
eventBus.$emit('close-ebook')
|
||||
}
|
||||
next()
|
||||
})
|
||||
}
|
||||
@@ -212,6 +215,10 @@ export default ({ store, app }, inject) => {
|
||||
eventBus.$emit('close-modal')
|
||||
return
|
||||
}
|
||||
if (store.state.showReader) {
|
||||
eventBus.$emit('close-ebook')
|
||||
return
|
||||
}
|
||||
if (store.state.playerIsFullscreen) {
|
||||
eventBus.$emit('minimize-player')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user