Skip to content

Commit

Permalink
if window console
Browse files Browse the repository at this point in the history
  • Loading branch information
afoong committed Apr 30, 2011
1 parent b5b74af commit e9c8c72
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions public/javascripts/errNode.js
Expand Up @@ -26,15 +26,21 @@ $(document).ready(function(){
$.getJSON('/time.json', function(datasets) {

var index = gIdx;
console.log(datasets);
if (window.console) {

console.log(datasets);
}
if(populateSelect)
index = datasets.data.length - 1;

var d = datasets.data[index];
var minTime = new Date(datasets.minTime);
var gName = datasets.names[index];

console.log(gName);
if (window.console) {

console.log(gName);
}

document.getElementById('groupName').innerHTML = gName;

Expand Down

0 comments on commit e9c8c72

Please sign in to comment.