Skip to content

Commit

Permalink
This fixes Netflix#709: JS error: "isNan is not defined"
Browse files Browse the repository at this point in the history
This corrects the mistake introduced by Netflix@dc3bc3c, where "isNaN" is incorrectly cased as "isNan", causing the JavaScript error "isNan is not defined".
  • Loading branch information
wblakecaldwell committed Mar 9, 2015
1 parent 5d1874b commit 6c14c79
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 6c14c79

Please sign in to comment.