Skip to content

Commit

Permalink
Use configs if they already exist on configure RangeSlider.Preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Katie McLaughlin committed Mar 27, 2014
1 parent 6f1d446 commit 05b22b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Rickshaw.Graph.RangeSlider.Preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Rickshaw.Graph.RangeSlider.Preview = Rickshaw.Class.create({

configure: function(args) {

this.config = {};
this.config = this.config || {};

this.configureCallbacks.forEach(function(callback) {
callback(args);
Expand Down

0 comments on commit 05b22b6

Please sign in to comment.