diff --git a/src/mami.js/colpick/picker.jsx b/src/mami.js/colpick/picker.jsx index 3fdd5dd..70497c4 100644 --- a/src/mami.js/colpick/picker.jsx +++ b/src/mami.js/colpick/picker.jsx @@ -105,7 +105,6 @@ const MamiColourPicker = function(options) { $rq(`.colpick-tab-${name}-container`); }, onSwitch: ctx => { - console.log(ctx); if(ctx.from !== undefined) { ctx.from.elem.classList.toggle('colpick-tab-container-inactive', true); $q(`.colpick-tab-${ctx.from.info.getName()}-button`).classList.toggle('colpick-tab-button-active', false); diff --git a/src/mami.js/settings.js b/src/mami.js/settings.js index 1daeb42..0c64751 100644 --- a/src/mami.js/settings.js +++ b/src/mami.js/settings.js @@ -515,7 +515,7 @@ const UmiSettings = { category: 'debug', type: 'checkbox', mutable: true, - default: false, + default: FUTAMI_DEBUG, }, { id: 'openLegacyChat', diff --git a/src/mami.js/sockchat_old.js b/src/mami.js/sockchat_old.js index fccf24b..c3ff9ae 100644 --- a/src/mami.js/sockchat_old.js +++ b/src/mami.js/sockchat_old.js @@ -45,7 +45,8 @@ Umi.Protocol.SockChat.Protocol = function(views) { if(!sock) return; let msg = opcode; if(data) msg += "\t" + data.join("\t"); - console.log(msg); + if(Umi.Settings.get('dumpPackets')) + console.log(msg); sock.send(msg); }; const sendPing = function() {