Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

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

Open
sjanjic opened this issue Jun 23, 2014 · 10 comments
Open

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

sjanjic opened this issue Jun 23, 2014 · 10 comments

Comments

@sjanjic
Copy link

sjanjic commented Jun 23, 2014

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
Copy link
Member

What's the error?

@sjanjic
Copy link
Author

sjanjic commented Jun 23, 2014

In javascript, firebug report error

@Ocramius
Copy link
Member

Yes, but what error?

@sjanjic
Copy link
Author

sjanjic commented Jun 23, 2014

TypeError: toggleTrigger is null

toggleTrigger.innerHTML = "◄";

@Ocramius
Copy link
Member

What does this look like in your page?

@sjanjic
Copy link
Author

sjanjic commented Jun 23, 2014

How to test it?

@Ocramius
Copy link
Member

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

@sjanjic
Copy link
Author

sjanjic commented Jun 23, 2014

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

@sjanjic
Copy link
Author

sjanjic commented Jun 23, 2014

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

@weierophinney
Copy link
Member

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

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

No branches or pull requests

3 participants