Ticket #38782: 38782.diff
File 38782.diff, 619 bytes (added by , 6 years ago) |
---|
-
src/js/_enqueues/lib/link.js
741 741 el = this.element, 742 742 bottom = el.scrollTop() + el.height(); 743 743 744 if ( ! this.query.ready() || bottom < this.contentHeight.height() - wpLink.riverBottomThreshold ) 744 if ( 745 ! this.visible 746 || ! this.query.ready() 747 || bottom < this.contentHeight.height() - wpLink.riverBottomThreshold 748 ) { 745 749 return; 750 } 746 751 747 752 setTimeout(function() { 748 753 var newTop = el.scrollTop(),