TypeError: toggleTrigger is null toggleTrigger.innerHTML = "◄";
Opened this issue · 10 comments
sjanjic commented
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
Ocramius commented
What's the error?
sjanjic commented
In javascript, firebug report error
Ocramius commented
Yes, but what error?
sjanjic commented
TypeError: toggleTrigger is null
toggleTrigger.innerHTML = "◄";
sjanjic commented
How to test it?
Ocramius commented
Just run that command in the console - I suppose the HTML on your page may be broken
sjanjic commented
It shows a element with 'zdf-toolbar-toggle' id but it's hidden
sjanjic commented
<a href="javascript:void(0);" class="zdf-toolbar-hide-button" id="zdf-toolbar-toggle"></a>
weierophinney commented
This repository has been closed and moved to laminas/laminas-developer-tools; a new issue has been opened at laminas/laminas-developer-tools#13.