Fix confusion of reduce_motion with minimalist_mode (#2413)

This commit is contained in:
Daniel Tang 2023-03-06 03:15:43 -05:00 committed by GitHub
parent 1e6686fcd8
commit f87babb5fc

View file

@ -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")