Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/plugins/code4rest-pro/dist/infinite-scroll/src/post-infinite-scroll.js
Ðазад
/* global code4restProInfiniteConfig */ /** * File post-infinite-scroll.js. * Gets single post infinite scroll working. */ (function() { 'use strict'; window.code4restProSingleInfinite = { getPath: function() { //console.log( this ); var slug = code4restProInfiniteConfig.slugs[ this.loadCount ]; if ( slug ) { return slug; } }, // Initiate scroll when the DOM loads. init: function() { var infScroll = new InfiniteScroll( '.content-wrap', { path: window.code4restProSingleInfinite.getPath, append: '.single-entry', status: '.page-load-status', } ); } } if ( 'loading' === document.readyState ) { // The DOM has not yet been loaded. document.addEventListener( 'DOMContentLoaded', window.code4restProSingleInfinite.init ); } else { // The DOM has already been loaded. window.code4restProSingleInfinite.init(); } })();
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка