File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -648,7 +648,7 @@ class WebuiBridge {
648648 // 3: [CMD]
649649 // 4: [URL]
650650 const url : string = this . #getDataStrFromPacket( buffer8 , this . #PROTOCOL_DATA) ;
651- console . log ( `WebUI -> CMD -> Navigation [${ url } ]` ) ;
651+ if ( this . #log ) console . log ( `WebUI -> CMD -> Navigation [${ url } ]` ) ;
652652 this . #close( this . #CMD_NAVIGATION, url ) ;
653653 break ;
654654 case this . #CMD_NEW_ID:
@@ -659,7 +659,7 @@ class WebuiBridge {
659659 // 3: [CMD]
660660 // 4: [New Element]
661661 const newElement : string = this . #getDataStrFromPacket( buffer8 , this . #PROTOCOL_DATA) ;
662- console . log ( `WebUI -> CMD -> New Bind ID [${ newElement } ]` ) ;
662+ if ( this . #log ) console . log ( `WebUI -> CMD -> New Bind ID [${ newElement } ]` ) ;
663663 if ( ! this . #bindsList. includes ( newElement ) ) this . #bindsList. push ( newElement ) ;
664664 // Generate objects
665665 this . #updateBindsList( ) ;
You can’t perform that action at this time.
0 commit comments