• 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
            }

    https://www.ads-software.com/extend/plugins/blackbox-debug-bar/

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