diff options
Diffstat (limited to 'src/components/services/content')
-rw-r--r-- | src/components/services/content/ConnectionLostBanner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/content/ConnectionLostBanner.js b/src/components/services/content/ConnectionLostBanner.js index 343ddf8b4..ebe863333 100644 --- a/src/components/services/content/ConnectionLostBanner.js +++ b/src/components/services/content/ConnectionLostBanner.js | |||
@@ -26,7 +26,7 @@ const messages = defineMessages({ | |||
26 | 26 | ||
27 | let buttonTransition = 'none'; | 27 | let buttonTransition = 'none'; |
28 | 28 | ||
29 | if (window.matchMedia('(prefers-reduced-motion: no-preference)')) { | 29 | if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { |
30 | buttonTransition = 'opacity 0.25s'; | 30 | buttonTransition = 'opacity 0.25s'; |
31 | } | 31 | } |
32 | 32 | ||