Skip to content

Commit

Permalink
jsdialog: fix close button for JSDialog
Browse files Browse the repository at this point in the history
Change-Id: Icce0b0a88b4fedf9ec77b2aa7d49e3568bcc68c9
Signed-off-by: Szymon Kłos <[email protected]>
  • Loading branch information
eszkadev committed Dec 3, 2020
1 parent 2c0e788 commit 6986695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loleaflet/src/control/Control.JSDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6986695

Please sign in to comment.