• Resolved webrightnow

    (@webrightnow)


    Running version 3.1.3. Suddenly the Accept button no longer works as expected. In the settings, it’s set to “Close consent bar”, but instead it opens a blank page, which is really confusing. Tested in Chrome, FF and Opera, same behaviour.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @webrightnow,

    Greetings from CookieYes!

    Issue seems to related with a conflict with the below function in your theme’s script.

    $('a').not("[rel^='prettyPhoto']").each(function() {
         var a = new RegExp('/' + window.location.host + '/');
         if(!a.test(this.href)) {
             $(this).click(function(event) {
                 event.preventDefault();
                 event.stopPropagation();
                 window.open(this.href, '_blank');
             });
         }
      });
    Thread Starter webrightnow

    (@webrightnow)

    That’s great thank you. Commenting out those lines seems to solve the problem. I haven’t noticed any changes on the page so hopefully that function isn’t needed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Accept buttons opens blank page’ is closed to new replies.