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>
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>