Title: Javascript conflict/problem
Last modified: August 20, 2016

---

# Javascript conflict/problem

 *  [ksnyde](https://wordpress.org/support/users/ksnyde/)
 * (@ksnyde)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/javascript-conflictproblem/)
 * I love the plugin and find it an invaluable debugging aid but am now unable to
   use it due to what I believe is a javascript conflict (it’s certainly a JS issue).
 * Here’s what happens:
    - Load the page and the blackbox menu shows up as expected
    - Click on one of the menu tabs. Nothing happens.
 * I’ve looked under the hood at the browsers debugger and I see that every time
   I click on the link I get the following JS error:
 * > Uncaught TypeError: Cannot read property ‘style’ of null
 * The code that this points to is in the WpDebugBar’s SwitchPanel function:
 *     ```
       switchPanel: function(open) {
   
               for(var i in WpDebugBar.element) {
                   document.getElementById("blackbox-"+WpDebugBar.element[i]).style.display = "none";
       Uncaught TypeError: Cannot read property 'style' of null
               }
       ```
   
 * [http://wordpress.org/extend/plugins/blackbox-debug-bar/](http://wordpress.org/extend/plugins/blackbox-debug-bar/)

The topic ‘Javascript conflict/problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/blackbox-debug-bar.svg)
 * [BlackBox Debug Bar](https://wordpress.org/plugins/blackbox-debug-bar/)
 * [Support Threads](https://wordpress.org/support/plugin/blackbox-debug-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/blackbox-debug-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blackbox-debug-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blackbox-debug-bar/reviews/)

## Tags

 * [js](https://wordpress.org/support/topic-tag/js/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 0 replies
 * 1 participant
 * Last reply from: [ksnyde](https://wordpress.org/support/users/ksnyde/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/javascript-conflictproblem/)
 * Status: not resolved