diff options
-rw-r--r-- | visualize/static/visualize.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/visualize/static/visualize.js b/visualize/static/visualize.js index 307c38c..7e240d4 100644 --- a/visualize/static/visualize.js +++ b/visualize/static/visualize.js @@ -115,6 +115,7 @@ function packages_treemap(chart_id, orderings, default_order) { make_group_button(k, v); }); + /* adapt the chart size when the browser resizes */ var resize_timeout = null; var real_resize = function() { resize_timeout = null; @@ -275,6 +276,7 @@ function developer_keys(chart_id, data_url) { .start(); }); + /* adapt the chart size when the browser resizes */ var resize_timeout = null; var real_resize = function() { resize_timeout = null; |