Remove console.log

pull/1/head
yflory 4 years ago
parent 0a68f06cc8
commit d6129ee21f

@ -188,7 +188,6 @@ define([
onMessageHandlers.push(function (data, el) { onMessageHandlers.push(function (data, el) {
var type = data.type; var type = data.type;
if (types.indexOf(type) === -1 && !(teams && /^team-/.test(type))) { return; } if (types.indexOf(type) === -1 && !(teams && /^team-/.test(type))) { return; }
console.log('okokok');
cfg.onMessage(data, el); cfg.onMessage(data, el);
}); });
} }

@ -1027,7 +1027,6 @@ MessengerUI, Messages) {
Common.mailbox.subscribe(['notifications', 'team'], { Common.mailbox.subscribe(['notifications', 'team'], {
onMessage: function (data, el) { onMessage: function (data, el) {
console.log(data, el, div);
if (el) { if (el) {
$(div).prepend(el); $(div).prepend(el);
} }

Loading…
Cancel
Save