stickUp2
stickUp2 copied to clipboard
not sticky when change browser size
If i use
function(){ if( $(window).width() < 768 ) return false; return true; }
on load browser width 600, height 600 stickUp2 off, scroll up, then when I change the width & height of the browser (1920x1080) stickUp2 on correctly.
But if i load browser width 1920, height 1080, then when I change the width & height of the browser to 600x600, scroll up, and returns the inverse of the width and height of the browser, stickUp2 incorrectly considers the size.
How i do reinit stickUp2 when change width of the browser?
Hi,
can you make up a codepen showing the issue?