Change default map/table behavior to open

pull/963/head
Andrew Koenig 2024-12-23 11:02:12 -06:00
rodzic 7f013a836f
commit f995c6d415
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -311,7 +311,7 @@
});
// Check if user has preffered map visiblity.
if (getCookie('map') == 'true') {
if (getCookie('map') == 'true' || getCookie('map') == null) {
document.getElementById("mapid_details").setAttribute("open", true) ;
} else {
document.getElementById("mapid_details").removeAttribute("open") ;
@ -319,7 +319,7 @@
}
// Check if user has preffered table visiblity.
if (getCookie('table') == 'true') {
if (getCookie('table') == 'true' || getCookie('table') == null) {
document.getElementById("tableid").setAttribute("open", true) ;
} else {
document.getElementById("tableid").removeAttribute("open") ;