diff --git a/jquery.elevatezoom.js b/jquery.elevatezoom.js index 343a886..5cf670c 100755 --- a/jquery.elevatezoom.js +++ b/jquery.elevatezoom.js @@ -1693,7 +1693,7 @@ if ( typeof Object.create !== 'function' ) { if(self.nzWidth > self.nzHeight){ self.currentZoomLevel = self.newvaluewidth; } - if(self.nzHeight > self.nzWidth){ + else if(self.nzHeight >= self.nzWidth){ self.currentZoomLevel = self.newvaluewidth; } }