preserve aspect of extra symbols in select

merge-requests/1/head
Julien Veyssier 2016-12-13 03:55:21 +01:00
parent 3127bee438
commit bac51dc7cc
1 changed files with 2 additions and 2 deletions

View File

@ -914,7 +914,7 @@ function updateLeafletDrawMarkerStyle(){
$('#markerstyleselect').attr('style',
'background: url(\''+fullurl+'\') no-repeat '+
'right 8px center rgba(240, 240, 240, 0.90);'+
'background-size: 24px 24px;');
'background-size: 24px 24px contain;');
}
var tst = $('#tooltipstyleselect').val();
var theicon = symbolIcons[wst];
@ -1211,7 +1211,7 @@ $(document).ready(function(){
$(this).attr('style',
'background: url(\''+fullurl+'\') no-repeat '+
'right 8px center rgba(240, 240, 240, 0.90);'+
'background-size: 24px 24px;');
'background-size: 24px 24px contain;');
}
});