Файловый менеджер - Редактировать - /var/www/biopower/html/wp-content/plugins/jetpack/_inc/build/widgets/customizer-utils.min.js
Назад
(()=>{var e;wp.customizerHasPartialWidgetRefresh=function(){return"object"==typeof wp&&"function"==typeof wp.customize&&"object"==typeof wp.customize.selectiveRefresh&&"object"==typeof wp.customize.widgetsPreview&&"function"==typeof wp.customize.widgetsPreview.WidgetPartial},wp.isJetpackWidgetPlaced=function(e,t){return e.partial.widgetId&&0===e.partial.widgetId.indexOf(t)},(e=jQuery)(document).ready((function(){wp&&wp.customize&&wp.customizerHasPartialWidgetRefresh()&&(wp.customize.selectiveRefresh.bind("partial-content-rendered",(function(t){if(t.container)if(wp.isJetpackWidgetPlaced(t,"googleplus-badge")&&"object"==typeof gapi&&gapi.person&&"function"==typeof gapi.person.go)gapi.person.go(t.container[0]);else if(wp.isJetpackWidgetPlaced(t,"facebook-likebox")&&"object"==typeof FB&&"object"==typeof FB.XFBML&&"function"==typeof FB.XFBML.parse)FB.XFBML.parse(t.container[0],(function(){var i=e(t.container[0]).find(".fb_iframe_widget"),a=i.data("width"),o=i.data("height");i.find("span").css({width:a,height:o}),setTimeout((function(){i.find("iframe").css({width:a,height:o,position:"relative"})}),1)}));else if(wp.isJetpackWidgetPlaced(t,"twitter_timeline")&&"object"==typeof twttr&&"object"==typeof twttr.widgets&&"function"==typeof twttr.widgets.load)twttr.widgets.load(t.container[0]);else if(wp.isJetpackWidgetPlaced(t,"eu_cookie_law_widget"))e("#eu-cookie-law").hasClass("top")?e(".widget_eu_cookie_law_widget").addClass("top"):e(".widget_eu_cookie_law_widget").removeClass("top"),t.container.fadeIn();else if(wp.isJetpackWidgetPlaced(t,"jetpack_simple_payments_widget"))try{var i=e(".jetpack-simple-payments-button",t.container).attr("id").replace("_button","");PaypalExpressCheckout.renderButton(null,null,i,null)}catch(e){}})),wp.customize.selectiveRefresh.bind("partial-content-moved",(function(e){e.container&&(wp.isJetpackWidgetPlaced(e,"twitter_timeline")&&e.container.find("iframe.twitter-timeline:not([src]):first").length||wp.isJetpackWidgetPlaced(e,"jetpack_simple_payments_widget"))&&e.partial.refresh()})))}))})();
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка