mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-12-04 22:06:33 +01:00
Add:Continue listening shelf for offline books/episodes #112
This commit is contained in:
1 parent
7462eb3bc4
commit
0583ce617e
4 files changed
+71
-20
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user