elevateweb / elevatezoom

1.02k stars 493 forks source link

zoomWindowPosition 6 and 14 don't work #164

Open Luk-z opened 7 years ago

Luk-z commented 7 years ago

the problem is setWindowPostition() function (jquery.elevatezoom.js:844)

"case 6:" and "case 14:" are broken due to absurd code if(self.options.zoomWindowHeight > self.nzHeight)

cannot understand the goal of this line of code.

I think removing(or negating) that if will resolve the issue.