From 306d524416f35d501033e482b90995cd9fb5bf55 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 3 Aug 2016 16:53:41 +0200 Subject: [PATCH] fix broken removal call --- www/common/cryptpad-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); });