Remove non-existing #root from css selectors (#142)

This commit is contained in:
Alex Ling
2021-01-11 05:27:57 +00:00
parent f51d27860a
commit ac9c51dd33
2 changed files with 2 additions and 2 deletions

View File

@@ -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');