We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae7013d commit 83ace3eCopy full SHA for 83ace3e
1 file changed
js/load-image-orientation.js
@@ -97,7 +97,7 @@ Exif orientation values to correctly display the letter F:
97
// Determines if the target image should be a canvas element:
98
loadImage.hasCanvasOption = function (options) {
99
return (
100
- (!!options.orientation === true && !loadImage.orientation) ||
+ (options.orientation === true && !loadImage.orientation) ||
101
(options.orientation > 1 && options.orientation < 9) ||
102
originalHasCanvasOption.call(loadImage, options)
103
)
0 commit comments