diff --git a/simulator/js/index.js b/simulator/js/index.js index 23b539fe..46c25c14 100644 --- a/simulator/js/index.js +++ b/simulator/js/index.js @@ -725,6 +725,8 @@ function JSONInput() { document.getElementById('color_mode').checked = colorMode; document.getElementById('color_mode_mobile').checked = colorMode; modebtn_clicked(jsonData.mode); + document.getElementById('mode_' + jsonData.mode).checked = true; + document.getElementById('mode_' + jsonData.mode + '_mobile').checked = true; selectObj(selectedObj); }