Skip to content

Commit

Permalink
Merge pull request #37 from y0rsh/scrolling_bug
Browse files Browse the repository at this point in the history
Not working scrolling on square images.
  • Loading branch information
elevateweb committed Jul 22, 2014
2 parents 81c2cc4 + a447927 commit 29cafcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.elevatezoom.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ if ( typeof Object.create !== 'function' ) {

if(self.options.zoomType == "inner"){

if(self.nzWidth > self.nzHeight){
if(self.nzWidth >= self.nzHeight){
if( self.newvaluewidth <= maxwidthtnewvalue){
scrcontinue = true;
}
Expand Down

0 comments on commit 29cafcd

Please sign in to comment.