summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-23 14:31:36 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-23 16:07:26 +0000
commit9bb3f120b0e415029752bf57207e6c636f9219ba (patch)
treea45658e2db36d1620b1e4248c4a2b553d0bb7fdb /library
parentf27037c7c57724d3ef135f578d7cb7f7d4b858d0 (diff)
downloadwebtrees-9bb3f120b0e415029752bf57207e6c636f9219ba.tar.gz
webtrees-9bb3f120b0e415029752bf57207e6c636f9219ba.tar.bz2
webtrees-9bb3f120b0e415029752bf57207e6c636f9219ba.zip
Enable responsive features in IE8
Diffstat (limited to 'library')
-rw-r--r--library/WT/Theme/BaseTheme.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/WT/Theme/BaseTheme.php b/library/WT/Theme/BaseTheme.php
index 6d702c550f..0dbef53202 100644
--- a/library/WT/Theme/BaseTheme.php
+++ b/library/WT/Theme/BaseTheme.php
@@ -395,8 +395,9 @@ abstract class BaseTheme {
}
$html =
- // Modernizr needs to be loaded before the <body> to avoid FOUC in IE8
- '<!--[if IE 8]><script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script><![endif]-->' .
+ // modernizr.js and respond.js need to be loaded before the <body> to avoid FOUC
+ '<!--[if IE 8]><script src="' . WT_MODERNIZR_JS_URL . '"></script><![endif]-->' .
+ '<!--[if IE 8]><script src="' . WT_RESPOND_JS_URL . '"></script><![endif]-->' .
$this->metaCharset() .
$this->title($title) .
$this->favicon() .