Skip to content

Commit

Permalink
Merge pull request Netflix#710 from wblakecaldwell/patch-1
Browse files Browse the repository at this point in the history
This fixes Netflix#709: JS error: "isNan is not defined"
  • Loading branch information
mattrjacobs committed Mar 9, 2015
2 parents 5d1874b + 6c14c79 commit 5991989
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
var ratePerSecond = data.ratePerSecond;
var ratePerSecondPerHost = data.ratePerSecondPerHost;
var ratePerSecondPerHostDisplay = ratePerSecondPerHost;
var errorThenVolume = isNan( ratePerSecond )? -1: (data.errorPercentage * 100000000) + ratePerSecond;
var errorThenVolume = isNaN( ratePerSecond )? -1: (data.errorPercentage * 100000000) + ratePerSecond;
// set the rates on the div element so it's available for sorting
$('#CIRCUIT_' + data.escapedName).attr('rate_value', ratePerSecond);
$('#CIRCUIT_' + data.escapedName).attr('error_then_volume', errorThenVolume);
Expand Down

0 comments on commit 5991989

Please sign in to comment.