File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed
utils/editors/js-console/html/output-console/v2.0 Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change 539539 //:
540540
541541
542-
542+ function disp ( ) {
543+
544+ var txt = build ( arguments ) ;
545+ var div = document . createElement ( 'div' ) ;
546+ div . textContent = txt ;
547+ cur . root . append ( div ) ;
548+
549+ cur . node = div ;
550+
551+ if ( txt == '' ) {
552+ div . style . height = '16px' ;
553+ }
554+
555+ cur . root . scrollTop = 999999999 ;
556+
557+ return div ;
558+
559+ } //disp
560+
561+
543562 obj . clear = function ( ) { return clear ( ) }
544563
545564 function clear ( ) {
586605
587606 function groupCollapsed ( ...args ) {
588607
589- log . apply ( null , args ) ;
590- window . console . groupCollapsed . apply ( window . console , args ) ;
608+ if ( chk . log . checked ) {
609+ window . console . groupCollapsed . apply ( window . console , args ) ;
610+ }
611+
612+ var div = disp . apply ( null , arguments ) ;
613+ return div ;
591614
592615 } //groupCollapsed
593616
You can’t perform that action at this time.
0 commit comments