yiisoft / jquery-pjax

pushState + ajax = pjax
http://pjax.herokuapp.com
MIT License
144 stars 40 forks source link

"history" option does not count by all code #54

Closed li-ar closed 7 years ago

li-ar commented 7 years ago

Hello! There is code line in pjax lib (https://github.com/yiisoft/jquery-pjax/blob/master/jquery.pjax.js#L387): window.history.replaceState(pjax.state, document.title) And it does not count "history" options. So when I set it to false - this line runs anyway. Looks like a small bug to me, am I right or missed something? P.S. commit version is aeb1a2d273fc70342682648fa2239d0aec3e86b6

SilverFire commented 7 years ago

Thank you