Skip to content

Commit

Permalink
fix: Bug when setting opts defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikGartner committed Dec 27, 2015
1 parent bf2869d commit d06bc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtree.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const dTree = {

init: function(data, options = {}) {

var opts = _.defaults(options || {}, {
var opts = _.defaultsDeep(options || {}, {
target: '#graph',
width: 600,
height: 600,
Expand Down

0 comments on commit d06bc19

Please sign in to comment.