Skip to content

Commit

Permalink
2.6.5 prep
Browse files Browse the repository at this point in the history
  • Loading branch information
thedustinsmith committed Jun 16, 2020
1 parent 84a7e81 commit 9d01391
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions croppie.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Croppie
* Copyright 2019
* Foliotek
* Version: 2.6.4
* Version: 2.6.5
*************************/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
Expand Down Expand Up @@ -1476,8 +1476,8 @@

// Reverses image dimensions if the degrees of rotation is not divisible by 180.
if ((Math.abs(deg) / 90) % 2 === 1) {
let oldHeight = self._originalImageHeight;
let oldWidth = self._originalImageWidth;
var oldHeight = self._originalImageHeight;
var oldWidth = self._originalImageWidth;
self._originalImageWidth = oldHeight;
self._originalImageHeight = oldWidth;
}
Expand Down
Loading

0 comments on commit 9d01391

Please sign in to comment.