vojtech-dobes / history.nette.ajax.js

Adds History API support to nette.ajax.js addon!
30 stars 27 forks source link

Extension is not working in Firefox 26 #20

Open MelkorNemesis opened 9 years ago

MelkorNemesis commented 9 years ago

When using Firefox 26, there're two glitches.

1) TypeError: invalid 'in' operand window.history [Break On This Error] this.popped = !!('state' in window.history) && !!window.history.state;

After fixing this line to not use in operand, another glitch occurs. 2) window.history is undefined

Is there any way you can make this work (at least graceful degradation)?

Thanks

Majkl578 commented 9 years ago

window.history is undefined? It's not by default, you should probably investigate this.