From 6986695ca7b3fc01ed1495eca4121052c01ca4b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20K=C5=82os?= Date: Tue, 1 Dec 2020 16:50:29 +0100 Subject: [PATCH] jsdialog: fix close button for JSDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icce0b0a88b4fedf9ec77b2aa7d49e3568bcc68c9 Signed-off-by: Szymon Kłos --- loleaflet/src/control/Control.JSDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loleaflet/src/control/Control.JSDialog.js b/loleaflet/src/control/Control.JSDialog.js index a38f8f0652339..f997c0e3d0f1e 100644 --- a/loleaflet/src/control/Control.JSDialog.js +++ b/loleaflet/src/control/Control.JSDialog.js @@ -38,7 +38,7 @@ L.Control.JSDialog = L.Control.extend({ var titlebar = L.DomUtil.create('div', 'ui-dialog-titlebar ui-corner-all ui-widget-header ui-helper-clearfix', container); var title = L.DomUtil.create('span', 'ui-dialog-title', titlebar); title.innerText = data.title; - var button = L.DomUtil.create('button', 'ui-dialog-titlebar-close', titlebar); + var button = L.DomUtil.create('span', 'ui-dialog-titlebar-close', titlebar); L.DomUtil.create('button', 'ui-button-icon ui-icon ui-icon-closethick', button); var content = L.DomUtil.create('div', 'lokdialog ui-dialog-content ui-widget-content', container);