Skip to content

Commit

Permalink
Reduce the client log
Browse files Browse the repository at this point in the history
pedrobmarin committed Aug 17, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent d88fa0c commit b904319
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/static/js/collab_client.js
Original file line number Diff line number Diff line change
@@ -272,7 +272,7 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)

function handleMessageFromServer(evt)
{
if (window.console) console.log(evt);
//if (window.console) console.log(evt);

if (!getSocket()) return;
if (!evt.data) return;
2 changes: 1 addition & 1 deletion src/static/js/pad.js
Original file line number Diff line number Diff line change
@@ -277,7 +277,7 @@ function handshake()
else if (!receivedClientVars && obj.type == "CLIENT_VARS")
{
//log the message
if (window.console) console.log(obj);
//if (window.console) console.log(obj);

receivedClientVars = true;

0 comments on commit b904319

Please sign in to comment.