Window.scroll not working in IE11
So I'm using the scroll event to trigger a masonry layout as follows:
$(window).scroll(function(){
$('.man').isotope({
itemSelector : '.grid',
layoutMode: 'masonry'
});
});
$(document).ready(function () {
$(window).scroll();
});
Works great in Safari, Firefox, and Chrome, but fails to work in IE, only when I manually scroll I get the result that I wanted.
I'm using this version,
<script src="
http://code.jquery.com/jquery-2.1.4.min.js"></script>