Load more button not working due to jQuery event-aliases
-
Content is hidden and the load-more button is there. On debugging I found that a javascript error in jQuery file “Uncaught TypeError: e.indexOf is not a function at S.fn.init.S.fn.load ” generated from “ajax-load-more-anything/inc/ald-functions” This error caused by the jQuery event-aliases .load() that is deprecated since jQuery 1.8. and I replaced it with the .on() method instead and the issue was solved [ jQuery(window).load(function(){ into jQuery(window).on(‘load’, function(){ ]. Please do the needful in the next update.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Load more button not working due to jQuery event-aliases’ is closed to new replies.