Removed stray debug log statements.
This commit is contained in:
parent
c7c22e4125
commit
834f5cfd4b
3 changed files with 3 additions and 3 deletions
|
@ -105,7 +105,6 @@ const MamiColourPicker = function(options) {
|
||||||
$rq(`.colpick-tab-${name}-container`);
|
$rq(`.colpick-tab-${name}-container`);
|
||||||
},
|
},
|
||||||
onSwitch: ctx => {
|
onSwitch: ctx => {
|
||||||
console.log(ctx);
|
|
||||||
if(ctx.from !== undefined) {
|
if(ctx.from !== undefined) {
|
||||||
ctx.from.elem.classList.toggle('colpick-tab-container-inactive', true);
|
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);
|
$q(`.colpick-tab-${ctx.from.info.getName()}-button`).classList.toggle('colpick-tab-button-active', false);
|
||||||
|
|
|
@ -515,7 +515,7 @@ const UmiSettings = {
|
||||||
category: 'debug',
|
category: 'debug',
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
mutable: true,
|
mutable: true,
|
||||||
default: false,
|
default: FUTAMI_DEBUG,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'openLegacyChat',
|
id: 'openLegacyChat',
|
||||||
|
|
|
@ -45,6 +45,7 @@ Umi.Protocol.SockChat.Protocol = function(views) {
|
||||||
if(!sock) return;
|
if(!sock) return;
|
||||||
let msg = opcode;
|
let msg = opcode;
|
||||||
if(data) msg += "\t" + data.join("\t");
|
if(data) msg += "\t" + data.join("\t");
|
||||||
|
if(Umi.Settings.get('dumpPackets'))
|
||||||
console.log(msg);
|
console.log(msg);
|
||||||
sock.send(msg);
|
sock.send(msg);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue