| @@ -3,11 +3,13 @@ | ||
| 3 | 3 | return false; |
| 4 | 4 | } |
| 5 | 5 | |
| 6 | 6 | document.addEventListener("DOMContentLoaded", function() { |
| 7 | - if(!cookieadmin_is_pro){ | |
| 7 | + if(!cookieadmin_data['is_pro']){ | |
| 8 | 8 | jQuery("[cookieadmin-pro-only]").each(function(index) { |
| 9 | - jQuery(this).find( "input, textarea, select" ).attr("disabled", true); | |
| 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'); | |
| 10 | 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"); | |
| 11 | 13 | }); |
| 12 | 14 | } |
| 13 | 15 | }); |