Don't show closebutton if not requested
Change-Id: Ie7d84f52244003607cb1a227d9eeea8217c817f8
This commit is contained in:
parent
5e06891569
commit
a532906137
1 changed files with 3 additions and 1 deletions
|
@ -2274,7 +2274,9 @@ $(window).resize(function() {
|
|||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
if (closebutton && !L.Browser.mobile) {
|
||||
if (!closebutton) {
|
||||
$('#closebuttonwrapper').hide();
|
||||
} else if (closebutton && !L.Browser.mobile) {
|
||||
$('#closebuttonwrapper').show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue