PluginProbe
CookieAdmin – Cookie Consent Banner / 1.2.4
CookieAdmin – Cookie Consent Banner v1.2.4
1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.9 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8
← All changes | assets/js/footer.js +12 -1 1.0.6 → 1.2.4 View file →
@@ -1,4 +1,15 @@
1 1 function cookieadmin_dotweet(ele){
2 2 window.open(jQuery("#"+ele.id).attr("action")+"?"+jQuery("#"+ele.id).serialize(), "_blank", "scrollbars=no, menubar=no, height=400, width=500, resizable=yes, toolbar=no, status=no");
3 3 return false;
4 -}
4 +}
5 +
6 +document.addEventListener("DOMContentLoaded", function() {
7 + if(!cookieadmin_data['is_pro']){
8 + jQuery("[cookieadmin-pro-only]").each(function(index) {
9 + jQuery(this).filter("input, textarea, select").attr("disabled", true).css('cursor', 'not-allowed');
10 + jQuery(this).find( "input, textarea, select, span" ).attr("disabled", true).css('cursor', 'not-allowed');
11 + jQuery(this).find( "input.cookieadmin-color-input" ).css("margin-left", "0px");
12 + jQuery(this).find( "label span" ).not('.cookieadmin-tooltip-box').css("background-color", "#e8e8e8").css("color", "#9f9f9f");
13 + });
14 + }
15 +});