Skip to content

Commit 247fad6

Browse files
committed
🐞 add noop _init method for jQuery Bridget. #768
1 parent 7ef024f commit 247fad6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/core.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ InfiniteScroll.setJQuery = function( $ ) {
373373

374374
utils.htmlInit( InfiniteScroll, 'infinite-scroll' );
375375

376+
// add noop _init method for jQuery Bridget. #768
377+
proto._init = function() {};
378+
376379
if ( jQuery && jQuery.bridget ) {
377380
jQuery.bridget( 'infiniteScroll', InfiniteScroll );
378381
}

0 commit comments

Comments
 (0)