aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorMartin Wright <martin@mysociety.org>2018-03-28 14:48:05 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-04-06 17:43:30 +0100
commit80b41eed05751ea6975793d289be151f834d8db2 (patch)
tree1dca1237d61a66de1b622e0ff02b0b5e47027bab /web/js
parentf2f1d653f32f7ae04bdda2f102ccedfbdbb2b9b0 (diff)
Don't run through this JavaScript in IE9
Diffstat (limited to 'web/js')
-rw-r--r--web/js/dashboard.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/dashboard.js b/web/js/dashboard.js
index 23c5496e6..1f7f7c3e5 100644
--- a/web/js/dashboard.js
+++ b/web/js/dashboard.js
@@ -1,4 +1,7 @@
$(function(){
+ if ($('html').is('.ie9')) {
+ return;
+ }
Chart.defaults.global.defaultFontSize = 16;
// Chart.defaults.global.defaultFontFamily = $('body').css('font-family');