objectManager: Fix index mix-up
Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/388
This commit is contained in:
parent
446183adee
commit
95224bd006
@ -281,8 +281,8 @@ var ObjectManager = class {
|
||||
let object = this._objects[objectPaths];
|
||||
|
||||
let interfaceNames = Object.keys(object);
|
||||
for (let j = 0; i < interfaceNames.length; i++) {
|
||||
let interfaceName = interfaceNames[i];
|
||||
for (let j = 0; j < interfaceNames.length; j++) {
|
||||
let interfaceName = interfaceNames[j];
|
||||
if (object[interfaceName])
|
||||
proxies.push(object(interfaceName));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user