diff --git a/themes/bootstrap3/templates/layout/layout.phtml b/themes/bootstrap3/templates/layout/layout.phtml index 0bd3debc78e5423a80c405b93a96036f275e88ed..8c985b6e75af2ca87fd0d4e16421a43694305e0d 100644 --- a/themes/bootstrap3/templates/layout/layout.phtml +++ b/themes/bootstrap3/templates/layout/layout.phtml @@ -23,8 +23,6 @@ <? // Set global path for Javascript code: $this->headScript()->prependScript("path = '" . rtrim($this->url('home'), '/') . "';"); - // Polyfill btoa - $this->headScript()->appendFile('vendor/base64.js', 'text/javascript', array('conditional' => 'lt IE 10')); // Deal with cart stuff: if (!isset($this->renderingError)) { diff --git a/themes/bootstrap3/theme.config.php b/themes/bootstrap3/theme.config.php index cf4fdd8a26163a396b02f70df5b2129463da2b7b..f6eeeb6817f0b857ff8c44f6bab882537d5c47c2 100644 --- a/themes/bootstrap3/theme.config.php +++ b/themes/bootstrap3/theme.config.php @@ -11,6 +11,7 @@ return array( 'print.css:print', ), 'js' => array( + 'vendor/base64.js:lt IE 10', // btoa polyfill 'vendor/jquery.min.js', 'vendor/bootstrap.min.js', 'vendor/bootstrap-accessibility.min.js',