Skip to content

Commit 90614df

Browse files
committed
hide menu
1 parent 131af4b commit 90614df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#iframe{border-left:1px solid}
1010
#toggle{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:50;transition:.5s}
1111
#toggle:checked{bottom:170px;transform:translateX(-50%) translateY(50%)}
12-
#menu{position:fixed;bottom:-150px;height:170px;width:100%;border-top:1px solid;z-index:2;transition:.5s}
12+
#menu{position:fixed;bottom:-170px;height:170px;width:100%;border-top:1px solid;z-index:2;transition:.5s}
1313
#toggle:checked~#menu{bottom:0}
1414
#toggle:checked~.CodeMirror,#toggle:checked~#iframe{height:calc(100% - 170px);bottom:0}
1515
#myconsole{float:right;height:170px;width:calc(100% - 120px);border-left:1px solid;padding:5px;-moz-control-character-visibility:visible;resize:none}
@@ -99,6 +99,7 @@
9999
// Save
100100
save.onclick=function(){
101101
localStorage["code"]=editor.getValue();
102+
console.log("Code saved in localStorage");
102103
}
103104

104105
// Load
@@ -109,6 +110,7 @@
109110
iframe.srcdoc=custom_console+editor.getValue();
110111
download.href="data:text/html,"+encodeURIComponent(input);
111112
document.title=input.length+" chars - Codegolf IDE";
113+
console.log("Code loaded from localStorage");
112114
}
113115

114116
// Share

0 commit comments

Comments
 (0)