diff --git a/public/500.html b/public/500.html
index f970652e..5495427c 100644
--- a/public/500.html
+++ b/public/500.html
@@ -124,7 +124,7 @@
border-color: #B2B2B2;
}
- .fontsLoaded {
+ .fontsLoaded body {
font-family: sofiapro, Helvetica, Arial, sans-serif;
opacity: 1;
}
@@ -172,7 +172,7 @@
})(document);
-
+
500
Sorry, it seems we did something wrong.
@@ -194,7 +194,7 @@
// Optimization for Repeated views - i.e. page refresh hits the same error
// If there's no Promise available, we also revert to @font-face loading
if (sessionStorage.fontsLoaded || !hasFeaturePromise) {
- document.getElementById("body").classList.add("fontsLoaded");
+ document.documentElement.classList.add("fontsLoaded");
return;
}
@@ -207,7 +207,7 @@
values.forEach(function(f) {
document.fonts.add(f);
});
- document.getElementById("body").classList.add("fontsLoaded");
+ document.documentElement.classList.add("fontsLoaded");
// Optimization for Repeat Views
sessionStorage.fontsLoaded = true;
diff --git a/public/index.html b/public/index.html
index 09c66315..7954e4ef 100644
--- a/public/index.html
+++ b/public/index.html
@@ -75,7 +75,7 @@
-
+