fix: Clicking source code link opens twice
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -1910,7 +1910,6 @@
|
|||||||
});
|
});
|
||||||
dialogOv.addEventListener("click", (e) => {
|
dialogOv.addEventListener("click", (e) => {
|
||||||
if (e.target.id == "source-code-link") {
|
if (e.target.id == "source-code-link") {
|
||||||
window.open("https://git.sr.ht/~mysticmode/pascar", "_blank");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|||||||
Reference in New Issue
Block a user