Title: OK button does not work
Last modified: August 24, 2021

---

# OK button does not work

 *  Resolved [emiliprades](https://wordpress.org/support/users/emiliprades/)
 * (@emiliprades)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/ok-button-does-not-work/)
 * Since the last update of Eleganth Themes DIVI, the ACCEPT Cookies button does
   not work, so the bar does not disappear.
    Momentarily I have applied the option
   to make the bar disappear after 8 seconds while they solve the problem with an
   update.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fok-button-does-not-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/ok-button-does-not-work/#post-14799814)
 * Hi [@emiliprades](https://wordpress.org/support/users/emiliprades/),
 * Sorry for the inconvenience. We will look into it and get back to you on this.
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/ok-button-does-not-work/#post-14802462)
 * Hi [@emiliprades](https://wordpress.org/support/users/emiliprades/),
 * This seems to be an issue caused by the JS optimizations of the wp-rocket plugin.
   Please confirm it by disabling the JS optimization methods. If the issue is gone,
   try to exclude our plugin script and jQuery script from optimizations.
 *     ```
       cookie-law-info-public.js
       jquery.min.js
       ```
   
 *  [StephInSeattle](https://wordpress.org/support/users/stephinseattle/)
 * (@stephinseattle)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/ok-button-does-not-work/#post-14808976)
 * I have the same issue. And am also running Divi and WP Rocket. I just deactivated
   WP Rocket and the bar now disappears as it should do after Accept All. Is there
   no other way to resolve this as I have WP Rocket running on about 10 websites?
 * Thanks for your help.
    -  This reply was modified 4 years, 9 months ago by [StephInSeattle](https://wordpress.org/support/users/stephinseattle/).
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/ok-button-does-not-work/#post-14810231)
 * Hi [@stephinseattle](https://wordpress.org/support/users/stephinseattle/),
 * Have you tried the above solution? Kindly share the result if did.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘OK button does not work’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

## Tags

 * [divi](https://wordpress.org/support/topic-tag/divi/)
 * [WP Rocket](https://wordpress.org/support/topic-tag/wp-rocket/)

 * 4 replies
 * 3 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/ok-button-does-not-work/#post-14810231)
 * Status: resolved