Skip to content

Commit

Permalink
fix: ignore window openmode on mobile
Browse files Browse the repository at this point in the history
close #169
  • Loading branch information
Vinzent03 committed Jul 13, 2024
1 parent 4db3143 commit 03e7005
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,10 @@ export default class AdvancedURI extends Plugin {
openMode = parameters.openmode == "true";
} else if (parameters.openmode == "popover") {
openMode = false;
} else if (
Platform.isMobile &&
parameters.openmode == "window"
) {
} else {
openMode = parameters.openmode;
}
Expand Down

0 comments on commit 03e7005

Please sign in to comment.