Support » Plugin: WP GDPR Compliance » More Info Accept dont work

  • When click on more info and then Accept in new window, accept bar is still here, and need to Accept again.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • I changed code in front.js line 208

    if ($checkboxes.length > 0) {
    for (var i = 0; i < $checkboxes.length; i++) {
    var $checkbox = $checkboxes[i],
    value = $checkbox.value;
    if ($checkbox.checked === true && !isNaN(value)) {
    checked.push(parseInt(value));
    }
    }
    if (checked.length > 0) {
    _saveCookie(consentCookieName, checked);
    } else {
    _saveCookie(consentCookieName, ‘decline’);
    _saveCookie(consentCookieName, checked);
    }
    }
    //I added this code and now work—–>>>
    else{_saveCookie(consentCookieName, checked);}

    • This reply was modified 2 months, 4 weeks ago by webmaster1983.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.