Commits

Chris Leonello  committed 9726d20

remove unneded code.

  • Participants
  • Parent commits b3b95a0

Comments (0)

Files changed (1)

File src/jqplot.core.js

     
     Axis.prototype.resetScale = function(opts) {
         $.extend(true, this, {min: null, max: null, numberTicks: null, tickInterval: null, _ticks: [], ticks: []}, opts);
-        if (this.renderer.resetDataBounds !== undefined) {
-            this.renderer.resetDataBounds();
-        }
-        else {
-            this.resetDataBounds();
-        }
+        this.resetDataBounds();
     };
     
     Axis.prototype.resetDataBounds = function() {