Skip to content

Commit

Permalink
chore(release): v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbin committed Nov 26, 2018
1 parent a91af7d commit 9237201
Show file tree
Hide file tree
Showing 12 changed files with 734 additions and 370 deletions.
131 changes: 99 additions & 32 deletions dist/jquery.magnify.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jquery.magnify.css.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/jquery.magnify.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* | | | | _ | \_/ | |\ |_| |_| | | |
* |__| |__|__| |__|\____/|_|__| \__|_____|__| |__|
*
* jquery.magnify - v1.3.0
* jquery.magnify - v1.3.1
* A jQuery plugin to view images just like in windows
* https://github.com/nzbin/magnify#readme
*
Expand Down Expand Up @@ -1158,8 +1158,8 @@ Magnify.prototype = {
: (offsetX + δ));
}

// if the image get to the critical point
if (Math.abs(this.imageData.initWidth - newWidth) < Math.abs(this.imageData.initWidth * 0.05)) {
// if the image scale get to the critical point
if (Math.abs(this.imageData.initWidth - newWidth) < this.imageData.initWidth * 0.05) {
this.setImageSize(this.img);
} else {
$image.css({
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.magnify.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9237201

Please sign in to comment.