diff --git a/modules/ext.tabberNeue/ext.tabberNeue.js b/modules/ext.tabberNeue/ext.tabberNeue.js index 769f4b5..496d107 100644 --- a/modules/ext.tabberNeue/ext.tabberNeue.js +++ b/modules/ext.tabberNeue/ext.tabberNeue.js @@ -25,8 +25,8 @@ class TabberAction { */ static shouldShowAnimation() { return ( - !window.matchMedia( '(prefers-reduced-motion: reduce)' ).matches || - !config.enableAnimation + !window.matchMedia( '(prefers-reduced-motion: reduce)' ).matches && + config.enableAnimation ); }