BB admin bar has stopped appearing
-
Hi
I added some JavaScript and CSS in Tools > Layout CSS & JavaScript and since then the BB admin bar has stopped appearing when I click on Beaver Builder from the WP admin bar on any page of the site: https://www.meditateinlondon.org
This is the page I added the Javascript to:https://test.meditateinlondon.org/building-inner-strength-copy
This is the JavaScript I added to make a BB module show / hide. The toggle button is at the bottom of the page.
When you load the page this error appears in the console:
Uncaught SyntaxError: missing ) after argument listand this is the JavaScript I added which is missing the ) at the very end
const targetDiv = document.querySelector('.target-div'); const toggleBtn = document.querySelector('.toggle-button'); toggleBtn.addEventListener('click', (e) => { targetDiv.classList.toggle('display-none'); }How can I edit or remove this JavaScript? I can’t access it from WordPress because the admin bar is always hidden.
I have set up a testing environment. The only two active plugins are BB and Woocommerce.
Here is a login to the testing environment:
https://test.meditateinlondon.org/wp-admin
username: bb_user
password: BeaverBuilder108!I would greatly appreciate any help with this.
Many thanks,
RolandThe page I need help with: [log in to see the link]
The topic ‘BB admin bar has stopped appearing’ is closed to new replies.