Skip to content

Commit bef7c6b

Browse files
save file
1 parent d1a8353 commit bef7c6b

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

utils/editors/js-console/html/output-console/v3.0/output-console-v3.0.html

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
var shadow;
156156

157157
var output;
158-
var pretty;
158+
var output_console;
159159
var cur = {};
160160
var mode = 'pretty';
161161

@@ -257,7 +257,7 @@
257257

258258
output = $(shadow,'#output');
259259
cur.root = output;
260-
pretty = $(shadow,'#output-console');
260+
output_console = $(shadow,'#output-console');
261261

262262
shadow.append(style);
263263

@@ -291,10 +291,17 @@
291291

292292
switch(id){
293293

294-
case 'console' : break;
295-
case 'pretty-print' : break;
296-
294+
case 'console' :
295+
output.style.display = 'none';
296+
output_console.style.display = '';
297+
break;
298+
case 'pretty-print' :
299+
output.style.display = '';
300+
output_console.style.display = 'none';
301+
break;
302+
297303
}//switch
304+
298305
}//type
299306

300307

0 commit comments

Comments
 (0)