Reduced logging.

This commit is contained in:
Martin Edenhofer 2016-03-16 08:19:34 +01:00
parent 293468a6f1
commit bb939c9a0e

View file

@ -98,10 +98,10 @@ class _webSocketSingleton extends App.Controller
# send ping after visibilitychange to check if connection is open again after wakeup
$(document).bind('visibilitychange', =>
console.log('visibilitychange')
@log 'debug', 'visibilitychange'
return if document.hidden
return if !@connectionEstablished
console.log('ping')
@log 'debug', 'ping'
@ping()
)