Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const sftextObserver=new FontFaceObserver('SF Pro Text');
- const sfdisplayObserver=new FontFaceObserver('SF Pro Display');
- const faplayObserver=new FontFaceObserver('Font Awesome 5 Free');
- Promise.all([sftextObserver.load(),sfdisplayObserver.load(),faplayObserver.load()]).then(function(){
- document.documentElement.className+=" fonts-loaded";
- });(function($){var $wrap=$(".sticky-container"),$sticky=$wrap.find('.sticky'),footerBottomAdjust=$("#widget-area").offset().top-$(".post-author").offset().top;$wrap.sticky({topSpacing:0,bottomSpacing:footerBottomAdjust});$wrap.on('sticky-start',function(){$sticky.show()});$wrap.on('sticky-end',function(){$sticky.hide()});})(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment