summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theme/list_lib.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 7204746b8..0789714e1 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -1081,3 +1081,7 @@ function switchDives(e)
}
}
}
+
+window.onresize = function(event) {
+ plot1.replot( { resetAxes: true } );
+};