changeset 34:83e8b0e0f010 0.10.1

homepage link on splash does not open a new tab anymore
author ark
date 2026-10-20 19:54 +0200
parents 767970d80214
children 0d40f346059c
files game/js/input.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/game/js/input.js	Tue Oct 20 18:39:37 2026 +0200
+++ b/game/js/input.js	Tue Oct 20 19:54:47 2026 +0200
@@ -167,7 +167,7 @@
         if (d.button) {
             var b = MM.ui.hit(game, L, x, y), links = MM.config.links;
             if (!b || b.id !== d.button) return;
-            if (b.id === "logo" && links.logo_url) window.open(links.logo_url, "_blank", "noopener");
+            if (b.id === "logo" && links.logo_url) window.location.href = links.logo_url;
             if (b.id === "email") {
                 window.location.href = "mailto:" + links.email + "?subject=" +
                     encodeURIComponent(links.email_subject);