mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-23 04:05:11 +02:00
Add:Continue listening shelf for offline books/episodes #112
This commit is contained in:
parent
7462eb3bc4
commit
0583ce617e
4 changed files with 71 additions and 20 deletions
|
@ -453,7 +453,7 @@ export default {
|
|||
})
|
||||
},
|
||||
initListeners() {
|
||||
var bookshelf = document.getElementById('bookshelf-wrapper')
|
||||
const bookshelf = document.getElementById('bookshelf-wrapper')
|
||||
if (bookshelf) {
|
||||
bookshelf.addEventListener('scroll', this.scroll)
|
||||
}
|
||||
|
@ -468,7 +468,7 @@ export default {
|
|||
this.$socket.$on('items_added', this.libraryItemsAdded)
|
||||
},
|
||||
removeListeners() {
|
||||
var bookshelf = document.getElementById('bookshelf-wrapper')
|
||||
const bookshelf = document.getElementById('bookshelf-wrapper')
|
||||
if (bookshelf) {
|
||||
bookshelf.removeEventListener('scroll', this.scroll)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue