hide html flash at start page

This commit is contained in:
lenovo
2022-11-11 18:44:39 +01:00
parent 65df3e630d
commit 9332c05274
3 changed files with 6 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ function mp_create_div(&$filters) {
foreach ($filters as $key => $filter) {
$mp_map_div .= '
<div class="filter_menu">
<div class="filter_menu" style="display:none;">
<div class="filter_menu_title" tabindex=0>
<p>'.$key.'</p>
</div>

View File

@@ -1,11 +1,4 @@
function mp_filter_selection(indexes) {
/*
* following variable are created by mp_add_to_script.php
*
*
*/
console.log(indexes);
// coordinates.setMap(map);
}

View File

@@ -18,7 +18,12 @@
z-index: 1;
}
/*
overwrite display:none to avoid html flash at begining
<div class="filter_menu" style="display:none;">
*/
#ljdp_map_filters .filter_menu {
display: flex !important;
flex-direction: column;
width: 100%;
border: 1px solid #ba197a;