Bugfix: variable name typo

Noah Zalev committed Jun 22, 2021 at 19:54 UTC 5552fb996bace02e31cbcfcc5b0929db298dda06
1 file changed +1 -1
meshcentral.js
+1 -1
@@ -1958,7 +1958,7 @@ function CreateMeshCentralServer(config, args) {
1958 for (var i in ids) { var id = ids[i]; if (!obj.eventsDispatch[id]) { obj.eventsDispatch[id] = [target]; } else { obj.eventsDispatch[id].push(target); } }
1959 };
1960 obj.RemoveEventDispatch = function (ids, target) {
1961 - obj.debug('dispatch', 'RemoveEventDispatch', id);
1961 + obj.debug('dispatch', 'RemoveEventDispatch', ids);
1962 for (var i in ids) { var id = ids[i]; if (obj.eventsDispatch[id]) { var j = obj.eventsDispatch[id].indexOf(target); if (j >= 0) { if (obj.eventsDispatch[id].length == 1) { delete obj.eventsDispatch[id]; } else { obj.eventsDispatch[id].splice(j, 1); } } } }
1963 };
1964 obj.RemoveEventDispatchId = function (id) {