summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--visualize/static/visualize.js2
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;