You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
836 B
JavaScript

(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=jQuery;var n=e.n(t);const s=wp.hooks;n()((function(){n()("#image_replacements_repeat").find("input").on("keyup",(function(){var e=!1;n()(this).parents(".cmb-nested").find('input[type="text"]').each((function(){if(!n()(this).val())return e=!0,void n()(this).addClass("is-blank");n()(this).removeClass("is-blank")})),e||n()(this).parents(".cmb-nested").removeClass("error")})),(0,s.addFilter)("rank_math_test_connections","rank-math-pro",(function(e){return e.push({class:".rank-math-connect-adsense",canTest:rankMath.isAdsenseConnected,action:"check_adsense_request"}),e}))}))})();