diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 37bee7bee..9d8ebfaf8 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -184,7 +184,7 @@ define([ cb(); return; } - Store.removebatch(toRemove, function (err, data) { + getStore().removeBatch(toRemove, function (err, data) { cb(err, data); }); });