mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-04-21 02:02:31 -04:00
This commit is contained in:
@@ -387,7 +387,12 @@ async function openGithubIssueDraft() {
|
||||
const openedWindow = window.open(payload.url, "_blank", "noopener,noreferrer");
|
||||
|
||||
if (!openedWindow) {
|
||||
window.location.href = payload.url;
|
||||
showToast(
|
||||
"GitHub draft popup was blocked. Allow popups for this site, then try again.",
|
||||
"warning",
|
||||
5000,
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
const message = payload.truncated
|
||||
|
||||
Reference in New Issue
Block a user