Skip to content

Commit

Permalink
fixing bug from release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Jun 20, 2015
1 parent 1cd0904 commit 2812aed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c3_renderers.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ callWithJQuery ($) ->
by: "by"
c3: {}

opts = $.extend defaults, opts
opts = $.extend true, defaults, opts
opts.c3.size ?= {}
opts.c3.size.width ?= window.innerWidth / 1.4
opts.c3.size.height ?= window.innerHeight / 1.4 - 50
Expand Down
2 changes: 1 addition & 1 deletion gchart_renderers.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ callWithJQuery ($) ->
by: "by"
gchart: {}

opts = $.extend defaults, opts
opts = $.extend true, defaults, opts
opts.gchart.width ?= window.innerWidth / 1.4
opts.gchart.height ?= window.innerHeight / 1.4

Expand Down

0 comments on commit 2812aed

Please sign in to comment.