Merge branch 'MDL-36316-master' of git://github.com/danpoltawski/moodle
[moodle.git] / theme / bootstrapbase / config.php
index 6a3bd9a..4ca1d83 100644 (file)
@@ -164,7 +164,7 @@ $THEME->javascripts_footer = array(
     'moodlebootstrap',
 );
 
-if (core_useragent::check_ie_version() && !core_useragent::check_ie_version('9.0')) {
+if (core_useragent::is_ie() && !core_useragent::check_ie_version('9.0')) {
     $THEME->javascripts[] = 'html5shiv';
 }