Update ImageUtilities.plugin.js

This commit is contained in:
Mirco Wittrien 2023-03-20 12:24:48 +01:00
parent 2bea0844d3
commit 01a04abc5f
1 changed files with 1 additions and 1 deletions

View File

@ -1226,7 +1226,7 @@ module.exports = (_ => {
}
}
if (this.isValid(e.instance.props.src, "gif") && !BDFDB.LibraryStores.AccessibilityStore.useReducedMotion) e.node.style.setProperty("pointer-events", "none");
if (this.isValid(e.instance.props.src, "gif")) e.node.style.setProperty("pointer-events", "none");
if (this.settings.viewerSettings.zoomMode && typeof e.instance.props.children != "function" && !BDFDB.DOMUtils.containsClass(e.node.parentElement, BDFDB.disCN._imageutilitiessibling)) {
e.node.style.setProperty("cursor", "zoom-in");
e.node.addEventListener("mousedown", event => {