zendframework/zend-developer-tools

TypeError: toggleTrigger is null toggleTrigger.innerHTML = "◄";

Opened this issue · 10 comments

Firebug show this error on this function:

        self.show = function() {
            slide(0);

            toggleTrigger.innerHTML = "◄";
            toggleTrigger.setAttribute("title", "Hide Toolbar");
            hidden = false;

            cookie.set(cookieKeyHidden, 0);
        };

and there is no icon to close toolbar

What's the error?

In javascript, firebug report error

Yes, but what error?

TypeError: toggleTrigger is null

toggleTrigger.innerHTML = "◄";

What does this look like in your page?

How to test it?

Just run that command in the console - I suppose the HTML on your page may be broken

It shows a element with 'zdf-toolbar-toggle' id but it's hidden

<a href="javascript:void(0);" class="zdf-toolbar-hide-button" id="zdf-toolbar-toggle"></a>

This repository has been closed and moved to laminas/laminas-developer-tools; a new issue has been opened at laminas/laminas-developer-tools#13.