Skip to content

Commit

Permalink
Reduce the client log
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobmarin committed Aug 17, 2020
1 parent d88fa0c commit b904319
Show file tree
Hide file tree
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
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/static/js/pad.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b904319

Please sign in to comment.