mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix confusion of reduce_motion with minimalist_mode (#2413)
This commit is contained in:
parent
e5d5d1d4bd
commit
0aeeabde69
1 changed files with 1 additions and 1 deletions
|
@ -784,7 +784,7 @@ html {{ {font} }}
|
|||
f"""document.body.classList.toggle("fancy", {json.dumps(not mw.pm.minimalist_mode())}); """
|
||||
)
|
||||
self.eval(
|
||||
f"""document.body.classList.toggle("reduce-motion", {json.dumps(mw.pm.minimalist_mode())}); """
|
||||
f"""document.body.classList.toggle("reduce-motion", {json.dumps(mw.pm.reduce_motion())}); """
|
||||
)
|
||||
|
||||
@deprecated(info="use theme_manager.qcolor() instead")
|
||||
|
|
Loading…
Reference in a new issue