File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -246,8 +246,8 @@ function playFromQueueExchange1(){
246246 var event = eventQueue . shift ( ) ;
247247 if ( event != null && event . message != null && ! shouldEventBeIgnored ( event ) && svg != null ) {
248248 playSound ( event . message . length * 1.1 , event . type ) ;
249- if ( ! document . hidden )
250- drawEvent ( event , svg ) ;
249+ // if(!document.hidden)
250+ drawEvent ( event , svg ) ;
251251 }
252252 setTimeout ( playFromQueueExchange1 , Math . floor ( Math . random ( ) * 1000 ) + 500 ) ;
253253 $ ( '.events-remaining-value' ) . html ( eventQueue . length ) ;
@@ -257,8 +257,8 @@ function playFromQueueExchange2(){
257257 var event = eventQueue . shift ( ) ;
258258 if ( event != null && event . message != null && ! shouldEventBeIgnored ( event ) && svg != null ) {
259259 playSound ( event . message . length , event . type ) ;
260- if ( ! document . hidden )
261- drawEvent ( event , svg ) ;
260+ // if(!document.hidden)
261+ drawEvent ( event , svg ) ;
262262 }
263263 setTimeout ( playFromQueueExchange2 , Math . floor ( Math . random ( ) * 800 ) + 500 ) ;
264264 $ ( '.events-remaining-value' ) . html ( eventQueue . length ) ;
You can’t perform that action at this time.
0 commit comments