Alexandre Alapetite authored and GitHub committed 2024-12-08 23:07:27 +01:00
1 parent 5ba5271e48
commit 3dc997d432
1 file changed
+1 -3
+1 -3
View File
@@ -1099,10 +1099,8 @@ function init_shortcuts() {
const link_go_website = document.querySelector('.flux.current a.go_website');
if (link_go_website) {
const newWindow = window.open();
const newWindow = window.open(link_go_website.href, '_blank', 'noopener');
if (newWindow) {
newWindow.opener = null;
newWindow.location = link_go_website.href;
ev.preventDefault();
}
}