Skip to content

Commit

Permalink
Fixed incorrect stats collection
Browse files Browse the repository at this point in the history
  • Loading branch information
coreybutler committed Apr 21, 2014
1 parent 382205b commit d73496b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/js/UI.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var UI = {
}
},
update: function(id){
var s = ROUTER.getServer(id),
var s = ROUTER.getServer(id),
x = $('#'+id).find('div:nth-child(2) > div');

x[0].innerHTML = s.name;
Expand Down Expand Up @@ -332,7 +332,7 @@ var UI = {
$('#log').addClass('bounceIn show');
$('#log').removeClass('bounceOut');

stats.event('Web Server','log','Viewed Log',1).send();
global.track.event('Web Server','log','Viewed Log',1).send();
}
},
clean: function(msg){
Expand Down

0 comments on commit d73496b

Please sign in to comment.