Reputation: 51927
I'm sure this is an easy question but I'll ask anyway. How do I make this into more concise code:
$(window).scroll(function () { ScrollTheDivs(); })
$(window).resize(function () { ScrollTheDivs(); })
Thanks.
Upvotes: 4
Views: 70