From 499f1a21a0790fffabdc597efefb60eccf7637e1 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Mon, 30 Mar 2020 23:20:23 +0300 Subject: [PATCH] v1.3.15a --- modules/ui/regiment-editor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ui/regiment-editor.js b/modules/ui/regiment-editor.js index 73345a6e..1a2ddedf 100644 --- a/modules/ui/regiment-editor.js +++ b/modules/ui/regiment-editor.js @@ -116,7 +116,10 @@ function editRegiment(selector) { container.addEventListener("click", e => clickEmblem(e), false); alertMessage.appendChild(container); - $("#alert").dialog({resizable: false, width: fitContent(), title: "Select emblem"}); + $("#alert").dialog({ + resizable: false, width: fitContent(), title: "Select emblem", + buttons: {Close: function() {$(this).dialog("close");}} + }); function showTip(e) { if (e.target.tagName !== "SPAN") return;