Removed stray debug log statements.

This commit is contained in:
flash 2024-01-22 00:34:23 +00:00
parent c7c22e4125
commit 834f5cfd4b
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -515,7 +515,7 @@ const UmiSettings = {
category: 'debug',
type: 'checkbox',
mutable: true,
default: false,
default: FUTAMI_DEBUG,
},
{
id: 'openLegacyChat',

View file

@ -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() {