Skip to content

Commit

Permalink
fix device discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Nov 24, 2011
1 parent d88d992 commit 0e89626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/chrome/src/browserstate.js
Expand Up @@ -37,7 +37,7 @@ BrowserState.prototype.queryDevices_ = function() {
} }
for (var n = 0; n < response.devices.length; n++) { for (var n = 0; n < response.devices.length; n++) {
var deviceInfo = response.devices[n]; var deviceInfo = response.devices[n];
if (!this.devices[deviceInfo.id]) { if (!self.devices[deviceInfo.id]) {
var device = new Device(self.service, deviceInfo); var device = new Device(self.service, deviceInfo);
self.addDevice_(device); self.addDevice_(device);
} }
Expand Down

0 comments on commit 0e89626

Please sign in to comment.