Skip to content

Commit 83ace3e

Browse files
committed
Remove unnecessary double negation.
1 parent ae7013d commit 83ace3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/load-image-orientation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Exif orientation values to correctly display the letter F:
9797
// Determines if the target image should be a canvas element:
9898
loadImage.hasCanvasOption = function (options) {
9999
return (
100-
(!!options.orientation === true && !loadImage.orientation) ||
100+
(options.orientation === true && !loadImage.orientation) ||
101101
(options.orientation > 1 && options.orientation < 9) ||
102102
originalHasCanvasOption.call(loadImage, options)
103103
)

0 commit comments

Comments
 (0)