Skip to content

Commit

Permalink
Correct condition for openPopup() API
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverdunk committed Jun 6, 2024
1 parent 5cdcf00 commit 8b004e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/override.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class RenderOverride extends EmptyRenderOverride {
case 'api:contentScripts.ContentScript.world':
return !this.#majorVersion || this.#majorVersion >= 111;
case 'api:action.openPopup':
return !this.#majorVersion || this.#majorVersion >= 126;
return !this.#majorVersion || this.#majorVersion >= 127;

Check warning on line 124 in tools/override.js

View check run for this annotation

Codecov / codecov/patch

tools/override.js#L124

Added line #L124 was not covered by tests
case 'api:contextMenus.OnClickData':
case 'api:notifications.NotificationBitmap':
case 'api:sidePanel.getPanelBehavior':
Expand Down

0 comments on commit 8b004e5

Please sign in to comment.