Quantcast
Channel: HTML Templates - ZoomIt Support Forum
Viewing all articles
Browse latest Browse all 39

Set initialHeight if needed

$
0
0
Hello Support...

The Plugin set always initialHeight on the element. This makes problems if you set height with Javascript or work with it. The better way is to set initialHeight if nothing set. 

Please update the code in 
dzszparalleaxer.dev.js on line 437.

Old:
cthis.height(initialheight);

New:
if(cthis.height() === initialheight) {
    cthis.height(initialheight);
}

Viewing all articles
Browse latest Browse all 39

Latest Images

Trending Articles





Latest Images