BlackBox Debug Bar
Javascript conflict/problem (1 post)

  1. ksnyde
    Posted 2 years ago #

    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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BlackBox Debug Bar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic