Skip to content

Commit

Permalink
compact iframe (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
wirekang authored Jan 29, 2024
1 parent 987df9a commit e627c5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ function setupOpenInNewTabController() {
return;
}

D.moreController.remove();
D.switchThemeController.remove();
D.openInNewtabController.onClick(() => {
window.open(window.location.origin + window.location.pathname + window.location.hash, "_blank");
});
Expand Down

0 comments on commit e627c5c

Please sign in to comment.