aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/webControls/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/webControls/components')
-rw-r--r--src/features/webControls/components/WebControls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/webControls/components/WebControls.js b/src/features/webControls/components/WebControls.js
index 417ebb0b0..9a95eb2d2 100644
--- a/src/features/webControls/components/WebControls.js
+++ b/src/features/webControls/components/WebControls.js
@@ -38,7 +38,7 @@ const messages = defineMessages({
38 38
39let buttonTransition = 'none'; 39let buttonTransition = 'none';
40 40
41if (window.matchMedia('(prefers-reduced-motion: no-preference)')) { 41if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) {
42 buttonTransition = 'opacity 0.25s'; 42 buttonTransition = 'opacity 0.25s';
43} 43}
44 44