Skip to content

Commit

Permalink
Fix: Prevent scroll event while reading is loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ollm authored Aug 4, 2024
1 parent 2686ff9 commit 4c93a72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/reading.js
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,8 @@ function scrollNextOrPrevComic(prev = false, delay = false)

function onScroll(event)
{
if(!isLoaded || !onReading) return;

if(activeOnScroll && readingViewIs('scroll'))
{
let scrollTop = this.scrollTop;
Expand Down

0 comments on commit 4c93a72

Please sign in to comment.