@@ -361,10 +361,13 @@
Simulation Running
var distance, timeStep;
var firefoxCheck = false;
//var cleanUI = true;
- if (window.localStorage.getItem("cleanUI") === undefined){
- window.localStorage.setItem("cleanUI", true);
+ if ((window.localStorage.getItem("cleanUI") != "0" )&&(window.localStorage.getItem("cleanUI") != "1" )){
+ window.localStorage.setItem("cleanUI", "1");
}
- var cleanUI = Boolean( window.localStorage.getItem("cleanUI")==="true");
+ var cleanUI = Number(Boolean( window.localStorage.getItem("cleanUI")==="1"));
+ if (cleanUI=== 1 ){
+ document.getElementById("cleanUI").checked = true;
+ }else{document.getElementById("cleanUI").checked = false;}
/*! For license information please see GeometryViewer.js.LICENSE.txt */
!(function () {
var e = {