I am using the latest jQuery for jQuery.masonry which throws the following error: on line 47 in jquery-1.9.1.min.js
TypeError: $.event.handle is undefined
if anyone has the same error?
MyCode:
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jquery-1.9.1.min.js"></script> <script language="javascript" src="http://masonry.desandro.com/jquery.masonry.min.js"></script> <script src="http://masonry.desandro.com/js/jquery.infinitescroll.min.js"></script> <script> $(function(){ var $container = $('#content'); $container.imagesLoaded(function(){ $container.masonry({ itemSelector: '.post', isAnimated: true }); }); $container.infinitescroll({ navSelector : '.wp-pagenavi', </script>
javascript jquery runtime-error jquery-masonry
justnajm
source share