diff --git a/package-lock.json b/package-lock.json index 14352b9..f3915ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8131,20 +8131,15 @@ } }, "ajv": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.2.1.tgz", - "integrity": "sha1-KKarxJOiq+D7TIUHrK7bQ/pVBnE=", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.3.0.tgz", + "integrity": "sha1-FlCkERTvAFdMrBC4Ay2PTBSBLac=", "requires": { "fast-deep-equal": "1.0.0", "fast-json-stable-stringify": "2.0.0", "json-schema-traverse": "0.3.1" } }, - "ajv-keywords": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.1.0.tgz", - "integrity": "sha1-rCsnk5xUPpXSwG5/f1wnvkqlQ74=" - }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", @@ -8341,7 +8336,7 @@ "requires": { "acorn": "5.3.0", "acorn-dynamic-import": "2.0.2", - "ajv": "6.2.1", + "ajv": "6.3.0", "ajv-keywords": "3.1.0", "async": "2.6.0", "enhanced-resolve": "3.4.1", diff --git a/routes/_components/HiddenFromSSR.html b/routes/_components/HiddenFromSSR.html index ed75a9f..d834238 100644 --- a/routes/_components/HiddenFromSSR.html +++ b/routes/_components/HiddenFromSSR.html @@ -1,13 +1,22 @@ -
+ +
+ \ No newline at end of file diff --git a/templates/2xx.html b/templates/2xx.html index bf7910a..9ee0002 100644 --- a/templates/2xx.html +++ b/templates/2xx.html @@ -1,17 +1,17 @@ - - - + + + - - + + - - + - - %sapper.styles% + + %sapper.styles% - - %sapper.head% + + %sapper.head% - + } + if (!localStorage.store_currentInstance) { + // if not logged in, show all these "hidden-from-ssr" elements + let style = document.createElement('style') + style.textContent = '.hidden-from-ssr { opacity: 1 !important; }' + document.head.appendChild(style) + } + + @@ -102,12 +108,12 @@ body.offline,body.theme-hotpants.offline,body.theme-majesty.offline,body.theme-o Follow requested - -
%sapper.html%
+ +
%sapper.html%
- -
+ +
@@ -115,9 +121,9 @@ body.offline,body.theme-hotpants.offline,body.theme-majesty.offline,body.theme-o - + \ No newline at end of file