@@ -232,8 +231,8 @@
diff --git a/themes/src/main/resources/theme/keycloak-preview/account/resources/app/app.component.ts b/themes/src/main/resources/theme/keycloak-preview/account/resources/app/app.component.ts
index 72a19af0e1..48ffac0154 100644
--- a/themes/src/main/resources/theme/keycloak-preview/account/resources/app/app.component.ts
+++ b/themes/src/main/resources/theme/keycloak-preview/account/resources/app/app.component.ts
@@ -54,7 +54,9 @@ export class AppComponent implements MenuClickListener {
if (navEnd.url !== '/') {
this.showSideNav = true;
var welcomeScreen = document.getElementById('welcomeScreen')
- if (welcomeScreen) welcomeScreen.remove();
+
+ // must use removeChild() -- remove() not available on IE 11
+ if (welcomeScreen) welcomeScreen.parentNode.removeChild(welcomeScreen);
}
}
});
diff --git a/themes/src/main/resources/theme/keycloak-preview/account/resources/systemjs-angular-loader.js b/themes/src/main/resources/theme/keycloak-preview/account/resources/systemjs-angular-loader.js
index 4d3e127369..3990219e0e 100644
--- a/themes/src/main/resources/theme/keycloak-preview/account/resources/systemjs-angular-loader.js
+++ b/themes/src/main/resources/theme/keycloak-preview/account/resources/systemjs-angular-loader.js
@@ -10,6 +10,11 @@ module.exports.translate = function(load){
basePathParts.pop();
var basePath = basePathParts.join('/');
+
+ // basePath leaves out leading slash on IE 11
+ if (!basePath.startsWith('/')) {
+ basePath = '/' + basePath;
+ }
var baseHref = document.createElement('a');
baseHref.href = this.baseURL;