diff --git a/public/js/functions.js b/public/js/functions.js index 3164f1b5..56864b0c 100644 --- a/public/js/functions.js +++ b/public/js/functions.js @@ -1,3 +1,10 @@ +$(document).ready(function(){ + $('#changePreferences, .cc_b_cp').click(function(){ + $('#title_targeting').parent('li').hide(); + $('#content_targeting').hide(); + }); +}); + (function ($) { /** * @param {object} _options diff --git a/public/js/functions.min.js b/public/js/functions.min.js index 5de0a4e2..8895fea2 100644 --- a/public/js/functions.min.js +++ b/public/js/functions.min.js @@ -1,2 +1,2 @@ -/*! 2024-04-03 */ -!function(a){a.fn.loadMoreNews=function(e){var n=!1,o={loadingElementId:"#loading",container:"",url:document.location.pathname,nextPage:2},s=(a.extend(o,e),a(o.loadingElementId,this));s.hide(),this.click(function(e){var t,i;e.preventDefault(),n||(n=1,s.show(),t=a(this).attr("disabled","disabled"),i=a(o.container),a.ajax({url:o.url+(0<=o.url.indexOf("?")?"&":"?")+"pagina="+o.nextPage}).always(function(){n=0,s.hide(),t.removeAttr("disabled")}).done(function(n){n?(i.each(function(){var e=this.toString();a(e).append(a("