|
|
@ -12,7 +12,7 @@ btn.onclick = function() {
|
|
|
|
modal.style.display = "block";
|
|
|
|
modal.style.display = "block";
|
|
|
|
document.getElementById("color_pickers").style.display= (displ!="points" ? "none" : "inline");
|
|
|
|
document.getElementById("color_pickers").style.display= (displ!="points" ? "none" : "inline");
|
|
|
|
document.getElementById("gems_picker").style.display= (displ=="points" ? "none" : "inline");
|
|
|
|
document.getElementById("gems_picker").style.display= (displ=="points" ? "none" : "inline");
|
|
|
|
document.getElementById(getCookie("displayMode")+"_di").classList.add("selected");
|
|
|
|
document.getElementById(getCookie("displayMode")+"_di").classList.add(selectedTheme);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// When the user clicks on <span> (x), close the modal
|
|
|
|
// When the user clicks on <span> (x), close the modal
|
|
|
@ -53,10 +53,10 @@ function selectDisplay(e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
displ=e;
|
|
|
|
displ=e;
|
|
|
|
setCookie("displayMode",e,30);
|
|
|
|
setCookie("displayMode",e,30);
|
|
|
|
document.getElementById("points_di").classList.remove("selected");
|
|
|
|
document.getElementById("points_di").classList.remove(selectedTheme);
|
|
|
|
document.getElementById("gems_di").classList.remove("selected");
|
|
|
|
document.getElementById("gems_di").classList.remove(selectedTheme);
|
|
|
|
document.getElementById("both_di").classList.remove("selected");
|
|
|
|
document.getElementById("both_di").classList.remove(selectedTheme);
|
|
|
|
document.getElementById(e+"_di").classList.add("selected");
|
|
|
|
document.getElementById(e+"_di").classList.add(selectedTheme);
|
|
|
|
backgroundBoth();
|
|
|
|
backgroundBoth();
|
|
|
|
dispDots();
|
|
|
|
dispDots();
|
|
|
|
if(displ=="both")
|
|
|
|
if(displ=="both")
|
|
|
|