diff --git a/jquery.flot.js b/jquery.flot.js index 5296cc3..b8e8c86 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -660,8 +660,8 @@ Licensed under the MIT license. }; plot.shutdown = shutdown; plot.resize = function () { - var width = placeholder.width(), - height = placeholder.height(); + var width = placeholder.width(), + height = placeholder.height(); surface.resize(width, height); overlay.resize(width, height); }; @@ -713,7 +713,7 @@ Licensed under the MIT license. // not expected behavior; avoid it by replacing them here. if (opts && opts.colors) { - options.colors = opts.colors; + options.colors = opts.colors; } if (options.xaxis.color == null) { @@ -2773,7 +2773,7 @@ Licensed under the MIT license. if ($.isFunction(options.legend.sorted)) { entries.sort(options.legend.sorted); } else if (options.legend.sorted == "reverse") { - entries.reverse(); + entries.reverse(); } else { var ascending = options.legend.sorted != "descending"; entries.sort(function(a, b) {