How to track only browser window resize
I'm using jquer UI modals, and I want to resize modal relative to window
height and width, but when I use $(window).resize() or
$(window).on('resize') they both track modals resize too. So when my
$(window).resize() updates modals height width, modal triggers resize,
thus firing another resize on itself.
How can I limit $(window).resize() only to browser window resize?
No comments:
Post a Comment