mirror of https://github.com/xwiki-labs/cryptpad
Fix calendar refresh issue #1551
This commit is contained in:
parent
6638c4cc49
commit
072dba254e
|
@ -1055,7 +1055,7 @@ define([
|
|||
|
||||
var removeClient = function (ctx, cId) {
|
||||
var idx = ctx.clients.indexOf(cId);
|
||||
ctx.clients.splice(idx, 1);
|
||||
if (idx !== -1) { ctx.clients.splice(idx, 1); }
|
||||
|
||||
Object.keys(ctx.calendars).forEach(function (id) {
|
||||
var cal = ctx.calendars[id];
|
||||
|
|
Loading…
Reference in New Issue