kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 194 forks source link

Cannot read property '0' of undefined #477

Closed humbertocruz closed 8 years ago

humbertocruz commented 8 years ago

Hello, I'm pushing some new url with "window.history.pushState('page', 'title', location.pathname+'?page='+this.page);" to simulating a page change for pagination and it's ok, but when I press the browser back the error "Cannot read property '0' of undefined" on meteorhacks_flow-router.js line 484 appears.

thanks

arunoda commented 8 years ago

Hey do not use pushState directly. That may cause issues.