Skip to content

Commit

Permalink
Fix an issue where ids weren't being checked/used correctly in the cl…
Browse files Browse the repository at this point in the history
…ient and tracker
  • Loading branch information
aaronjwood committed Jun 3, 2014
1 parent 9be1384 commit 65059bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion class/Client.js
Expand Up @@ -4,7 +4,7 @@
* @returns {Client} A new instance of the client class
*/
var Client = function(data) {
this.id = data.clientId;
this.id = data.userId;
this.url = data.url;
this.screenWidth = data.screenWidth;
this.screenHeight = data.screenHeight;
Expand Down
2 changes: 1 addition & 1 deletion class/Tracker.js
Expand Up @@ -7,7 +7,7 @@
var Tracker = function(client, url) {
this.clients = {};
this.url = url;
this.clients[client.userId] = client;
this.clients[client.id] = client;
};

/**
Expand Down

0 comments on commit 65059bd

Please sign in to comment.