diff options
Diffstat (limited to 'src/components/services/tabs/TabItem.js')
-rw-r--r-- | src/components/services/tabs/TabItem.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/tabs/TabItem.js b/src/components/services/tabs/TabItem.js index 023e152c7..d4a4048eb 100644 --- a/src/components/services/tabs/TabItem.js +++ b/src/components/services/tabs/TabItem.js | |||
@@ -72,7 +72,7 @@ let pollIndicatorTransition = 'none'; | |||
72 | let polledTransition = 'none'; | 72 | let polledTransition = 'none'; |
73 | let pollAnsweredTransition = 'none'; | 73 | let pollAnsweredTransition = 'none'; |
74 | 74 | ||
75 | if (window.matchMedia('(prefers-reduced-motion: no-preference)')) { | 75 | if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { |
76 | pollIndicatorTransition = 'background 0.5s'; | 76 | pollIndicatorTransition = 'background 0.5s'; |
77 | polledTransition = 'background 0.1s'; | 77 | polledTransition = 'background 0.1s'; |
78 | pollAnsweredTransition = 'background 0.1s'; | 78 | pollAnsweredTransition = 'background 0.1s'; |