mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix array splice error in profile module
This commit is contained in:
parent
6f8547235e
commit
a8c3e7f4a7
@ -111,7 +111,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); }
|
||||
};
|
||||
|
||||
Profile.init = function (cfg, waitFor, emit) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user