File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
mfr/extensions/image/static/js Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 44 * Original Copy: https://github.com/jackmoore/zoom/blob/1.7.20/jquery.zoom.js
55 * Version: https://github.com/jackmoore/zoom/releases/tag/1.7.20
66 *
7- * The are two MFR customizations in this file, one for style and one for functionality
7+ * The are three MFR customizations in this file, two for style and one for functionality
88 *
99 * 1. Updated code style according to `.eslintrc.js`
1010 * 2. Added `.on("mousewheel", function (e) { ... })` to enable further zoom by mouse wheel scroll
11+ * 3. Set "background-color: white" for "zoomImage" to handle images with transparent background
1112 */
1213
1314( function ( $ ) {
5354 top : 0 ,
5455 left : 0 ,
5556 opacity : 0 ,
57+ "background-color" : "white" ,
5658 width : img . width * magnify ,
5759 height : img . height * magnify ,
5860 border : "none" ,
You can’t perform that action at this time.
0 commit comments