kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Change default map/table behavior to open
rodzic
7f013a836f
commit
f995c6d415
|
@ -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") ;
|
||||
|
|
Ładowanie…
Reference in New Issue