aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services/tabs/TabItem.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/services/tabs/TabItem.js')
-rw-r--r--src/components/services/tabs/TabItem.js2
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';
72let polledTransition = 'none'; 72let polledTransition = 'none';
73let pollAnsweredTransition = 'none'; 73let pollAnsweredTransition = 'none';
74 74
75if (window.matchMedia('(prefers-reduced-motion: no-preference)')) { 75if (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';