We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac2052 commit 50279fbCopy full SHA for 50279fb
js/core.js
@@ -332,6 +332,10 @@ proto.destroy = function() {
332
333
delete this.element.infiniteScrollGUID;
334
delete instances[ this.guid ];
335
+ // remove jQuery data. #807
336
+ if ( jQuery && this.$element ) {
337
+ jQuery.removeData( this.element, 'infiniteScroll' );
338
+ }
339
};
340
341
// -------------------------- utilities -------------------------- //
0 commit comments