update mine

This commit is contained in:
Cay 2026-03-16 14:03:39 +00:00
parent 401c16ddab
commit ca71c379a6

View File

@ -580,5 +580,28 @@
</script>
<script src="/js/chat.js"></script>
<script type="module" src="/js/quickmenu.js"></script>
<script>
window.showNotification = function (
message,
title = "Hinweis",
icon = "⚔️",
) {
document.getElementById("notification-message").textContent = message;
document.getElementById("notification-title").textContent = title;
document.getElementById("notification-icon").textContent = icon;
const overlay = document.getElementById("game-notification-overlay");
const box = document.getElementById("game-notification");
overlay.style.display = "block";
box.style.display = "block";
document.getElementById("notification-ok").onclick = () => {
overlay.style.display = "none";
box.style.display = "none";
};
};
</script>
</body>
</html>