Make share window open future=proof
Browse files- src/routes/+page.svelte +1 -1
src/routes/+page.svelte
CHANGED
@@ -384,7 +384,7 @@ ${htmlImgs.slice(1).join("\n")}
|
|
384 |
});
|
385 |
|
386 |
const paramsStr = params.toString();
|
387 |
-
window.open(
|
388 |
isUploading = false;
|
389 |
}
|
390 |
|
|
|
384 |
});
|
385 |
|
386 |
const paramsStr = params.toString();
|
387 |
+
window.open(`${window.location.href}/discussions/new?${paramsStr}`, '_blank');
|
388 |
isUploading = false;
|
389 |
}
|
390 |
|