Update ImageUtilities.plugin.js
This commit is contained in:
parent
1cee261bce
commit
750acc8bb2
|
@ -2,7 +2,7 @@
|
||||||
* @name ImageUtilities
|
* @name ImageUtilities
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 5.2.0
|
* @version 5.2.1
|
||||||
* @description Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)
|
* @description Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -870,7 +870,7 @@ module.exports = (_ => {
|
||||||
"aria-label": BDFDB.LanguageUtils.LanguageStrings.IMAGE,
|
"aria-label": BDFDB.LanguageUtils.LanguageStrings.IMAGE,
|
||||||
children: isVideo ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ImageVideoModal, {
|
children: isVideo ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ImageVideoModal, {
|
||||||
src: imageThrowaway.src,
|
src: imageThrowaway.src,
|
||||||
poster: this.getPosterUrl(imageThrowaway.src),
|
poster: _this.getPosterUrl(imageThrowaway.src),
|
||||||
width: this.videoWidth,
|
width: this.videoWidth,
|
||||||
naturalWidth: this.videoWidth,
|
naturalWidth: this.videoWidth,
|
||||||
height: this.videoHeight,
|
height: this.videoHeight,
|
||||||
|
@ -2170,4 +2170,4 @@ module.exports = (_ => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})(window.BDFDB_Global.PluginUtils.buildPlugin(changeLog));
|
})(window.BDFDB_Global.PluginUtils.buildPlugin(changeLog));
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue