Permalink
Browse files

cleanup

  • Loading branch information...
Jordan Evans
Jordan Evans committed Aug 17, 2011
1 parent 8303b86 commit c1429e8dac4085b8f7346e879a003e409cc241e7
Showing with 1 addition and 2 deletions.
  1. +1 −2 railroad/static/js/functions.js
@@ -1084,6 +1084,7 @@ function getServiceObjs(ajaxData) {
}
function addMaxToData(data) {
+ var first = true;
var max = null;
if (data.data) {
for (var i=0; i < data.data.length; i++) {
@@ -1109,8 +1110,6 @@ function addMaxToData(data) {
function formatGraph(element, data) {
base = data.base;
- var first = true;
- var max = null;
data = addMaxToData(data);
if ( data.options.yaxis.max ) {

0 comments on commit c1429e8

Please sign in to comment.