- commit
- 8eb7e754e53d225f60e233301c8ef9770d041778
- parent
- 8ea0d01b350cec4dd6c5c1b66bbb6f2456248bb6
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-10-05 07:34
cleanup: align onNavigation checks
Diffstat
| M | src/popup.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popup.js b/src/popup.js
@@ -154,7 +154,7 @@ const loadContext = async function() {
154 154 };
155 155
156 156 browser.webNavigation.onBeforeNavigate.addListener(details => {
157 -1 if (details.parentFrameId === -1) {
-1 157 if (details.frameId === 0) {
158 158 window.close();
159 159 }
160 160 });