diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 41305240d..38b2c9318 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -858,7 +858,7 @@ define([ }); postMessage = function (cmd, data, cb) { - cb = cb || function () {} + cb = cb || function () {}; chan.query(cmd, data, function (err, data) { if (err) { return void cb ({error: err}); } cb(data); diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 1608c8eda..d8b0c6642 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -950,7 +950,7 @@ define([ var channels = Store.channels = {}; - Store.joinPad = function (clientId, data, cb) { + Store.joinPad = function (clientId, data) { var isNew = typeof channels[data.channel] === "undefined"; var channel = channels[data.channel] = channels[data.channel] || { queue: [],