aboutsummaryrefslogtreecommitdiffstats
path: root/theme/list_lib.js
diff options
context:
space:
mode:
Diffstat (limited to 'theme/list_lib.js')
-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 } );
+};