Skip to content

hashchange event wont trigger in IE9 #103

@ottendennis

Description

@ottendennis

history.zip

When i click the "item" button in IE9, i expect the hashListener to be executed. I think it's caused by L445
Removing this line fixes the problem, but i guess it's required for something else ;)

<a href="#item">Item</a>

<script> var hashListener = function () { console.log('hash change!'); }; window.addEventListener('hashchange', hashListener); </script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions