diff --git a/src/gadgets/MarkAsResolved-restricted/MediaWiki:Gadget-MarkAsResolved-restricted.js b/src/gadgets/MarkAsResolved-restricted/MediaWiki:Gadget-MarkAsResolved-restricted.js index 45c396da..d6db1d33 100644 --- a/src/gadgets/MarkAsResolved-restricted/MediaWiki:Gadget-MarkAsResolved-restricted.js +++ b/src/gadgets/MarkAsResolved-restricted/MediaWiki:Gadget-MarkAsResolved-restricted.js @@ -170,9 +170,7 @@ $(() => { if (action === "submit") { return new OO.ui.Process($.when((async () => { if (!this.status) { - throw new OO.ui.Error(wgULS("请选择一个状态", "請選擇一個狀態"), { - recoverable: false, - }); + throw new OO.ui.Error(wgULS("请选择一个状态", "請選擇一個狀態")); } const toclist = Object.fromEntries((await api.post({ action: "parse", diff --git a/src/gadgets/MarkAsResolved/MediaWiki:Gadget-MarkAsResolved.js b/src/gadgets/MarkAsResolved/MediaWiki:Gadget-MarkAsResolved.js index c5a05b42..a80adbec 100644 --- a/src/gadgets/MarkAsResolved/MediaWiki:Gadget-MarkAsResolved.js +++ b/src/gadgets/MarkAsResolved/MediaWiki:Gadget-MarkAsResolved.js @@ -179,9 +179,7 @@ $(() => { if (action === "submit") { return new OO.ui.Process($.when((async () => { if (!this.status) { - throw new OO.ui.Error(wgULS("请选择一个状态", "請選擇一個狀態"), { - recoverable: false, - }); + throw new OO.ui.Error(wgULS("请选择一个状态", "請選擇一個狀態")); } const toclist = Object.fromEntries((await api.post({ action: "parse",