Skip to content

Commit

Permalink
Ignore swipes while in gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoNezd committed Jan 4, 2024
1 parent 08d02ec commit 623991f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function setEventListener(type: string, listener: (event: Event) => void) {
}

const swipeIgnoreTags = ["PRE", "CODE"]
const swipeIgnoreMatches = ["#sr-header-area"]
const swipeIgnoreMatches = ["#sr-header-area", ".lg-container"]
const toggleAbles = [
{name: "Disable random NSFW", settingId: "disableNSFW", className: "ol_noRandNsfw"},
{name: "Disable random", settingId: "disableRandom", className: "ol_noRandom"},
Expand Down

0 comments on commit 623991f

Please sign in to comment.