update mine
This commit is contained in:
parent
401c16ddab
commit
ca71c379a6
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user