Reduced logging.
This commit is contained in:
parent
293468a6f1
commit
bb939c9a0e
1 changed files with 2 additions and 2 deletions
|
@ -98,10 +98,10 @@ class _webSocketSingleton extends App.Controller
|
||||||
|
|
||||||
# send ping after visibilitychange to check if connection is open again after wakeup
|
# send ping after visibilitychange to check if connection is open again after wakeup
|
||||||
$(document).bind('visibilitychange', =>
|
$(document).bind('visibilitychange', =>
|
||||||
console.log('visibilitychange')
|
@log 'debug', 'visibilitychange'
|
||||||
return if document.hidden
|
return if document.hidden
|
||||||
return if !@connectionEstablished
|
return if !@connectionEstablished
|
||||||
console.log('ping')
|
@log 'debug', 'ping'
|
||||||
@ping()
|
@ping()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue