blob: 633c0ccc89cf01d9d2477a3a06adf6bb15457fa1 (
plain)
1
|
!function(){var i,e;i=jQuery,(e=i(document)).on("ready",(function(){var o=function(e,o){var c=i(o||this).closest(".eu-cookie-law-widget-policy-url");c.find('input[type="radio"][value="default"]').is(":checked")?(c.find(".notice.default-policy").css("display","block"),c.find(".notice.custom-policy").hide()):(c.find(".notice.default-policy").hide(),c.find(".notice.custom-policy").css("display","block"))};e.on("click",'.eu-cookie-law-widget-policy-url input[type="radio"]',o),e.on("widget-updated widget-added",(function(e,c){var d=i(c).attr("id");d&&-1!==d.indexOf("eu_cookie_law_widget")&&o(0,i("#"+d+" .eu-cookie-law-widget-policy-url"))})),i(".eu-cookie-law-widget-policy-url").each(o)}))}();
|