mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-04-27 03:53:10 -04:00
This commit is contained in:
@@ -387,7 +387,12 @@ async function openGithubIssueDraft() {
|
|||||||
const openedWindow = window.open(payload.url, "_blank", "noopener,noreferrer");
|
const openedWindow = window.open(payload.url, "_blank", "noopener,noreferrer");
|
||||||
|
|
||||||
if (!openedWindow) {
|
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
|
const message = payload.truncated
|
||||||
|
|||||||
Reference in New Issue
Block a user