From a34a0c492a69b93e8c9c27fae606a3bc24b65a64 Mon Sep 17 00:00:00 2001 From: Paulin Jorys Date: Tue, 11 Jul 2017 16:03:34 +0200 Subject: [PATCH] Quick fix: Updated the remote audio storage log & launch app --- static/js/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index 7779e30..de1ebe6 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -601,8 +601,7 @@ function startGame(host, appID) { sendMessage('startRequest', [host.address, streamWidth, streamHeight, frameRate, bitrate.toString(), rikey, rikeyid.toString(), host.appVersion]); }, function (failedLaunchApp) { - console.log('ERROR: failed to launch app with appID: ' + appID); - console.log('Returned error was: ' + failedLaunchApp); + console.error('%c[index.js, launchApp]','color: green;','Failed to launch app width id: ' + appID + '\nReturned error was: ' + failedLaunchApp); return; }); @@ -748,7 +747,7 @@ function saveRemoteAudio() { // checking the new state setTimeout(function() { var remoteAudioState = $("#remoteAudioEnabledSwitch").parent().hasClass('is-checked'); - console.log('saving remote audio state : ' + remoteAudioState); + console.log('%c[index.js, saveRemoteAudio]', 'color: green;', 'Saving remote audio state : ' + remoteAudioState); storeData('remoteAudio', remoteAudioState, null); }, 100); }