summaryrefslogtreecommitdiff
path: root/public/js/mv/chart.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/mv/chart.js')
-rw-r--r--public/js/mv/chart.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/mv/chart.js b/public/js/mv/chart.js
index d2af480..1d85f2b 100644
--- a/public/js/mv/chart.js
+++ b/public/js/mv/chart.js
@@ -3,7 +3,7 @@ var mv = function(mv) {
mv.charts = {};
var thinWidth = 250;
var medWidth = 400;
- var wideWidth = Math.max(700, document.width - thinWidth - medWidth);
+ var wideWidth = Math.max(700, document.documentElement.clientWidth - thinWidth - medWidth);
mv.charter = function() {
var charter = {};
charter.init = function() {