diff --git a/public/js/reader.js b/public/js/reader.js index 8bf1133..c6a00b5 100644 --- a/public/js/reader.js +++ b/public/js/reader.js @@ -241,7 +241,7 @@ const readerComponent = () => { */ setupScroller() { if (this.mode !== 'continuous') return; - $('#root img').each((idx, el) => { + $('img').each((idx, el) => { $(el).on('inview', (event, inView) => { if (inView) { const current = $(event.currentTarget).attr('id'); diff --git a/src/views/reader.html.ecr b/src/views/reader.html.ecr index afeb510..ef84fe2 100644 --- a/src/views/reader.html.ecr +++ b/src/views/reader.html.ecr @@ -111,7 +111,7 @@