Skip to content

Commit 1f29bfc

Browse files
committed
🐛 修复GM_openInTab loadInBackground参数问题
1 parent 6332da6 commit 1f29bfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/runtime/content/gm_api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ export default class GMApi {
560560
if (arguments.length === 1) {
561561
option.active = true;
562562
} else if (typeof options === "boolean") {
563-
option.active = options;
563+
option.active = !options;
564564
} else {
565565
option = <GMTypes.OpenTabOptions>options;
566566
}

0 commit comments

Comments
 (0)