Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
weierophinney opened this issue Dec 31, 2019 · 10 comments
Closed

Comments

@weierophinney
Copy link
Member

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


Originally posted by @sjanjic at zendframework/zend-developer-tools#155

@weierophinney
Copy link
Member Author

What's the error?


Originally posted by @Ocramius at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

In javascript, firebug report error


Originally posted by @sjanjic at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

Yes, but what error?


Originally posted by @Ocramius at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

TypeError: toggleTrigger is null

toggleTrigger.innerHTML = "◄";


Originally posted by @sjanjic at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

What does this look like in your page?


Originally posted by @Ocramius at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

How to test it?


Originally posted by @sjanjic at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

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


Originally posted by @Ocramius at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

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


Originally posted by @sjanjic at zendframework/zend-developer-tools#155 (comment)

@weierophinney
Copy link
Member Author

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


Originally posted by @sjanjic at zendframework/zend-developer-tools#155 (comment)

@samsonasik
Copy link
Member

closing since the issue is not reproducible and seems no longer relevant. please re-create issue if problem persist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants