Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试在我自己的博客上安装 Pace.js 脚本 — http://www.thewired.ru,但我觉得我有点失败了。你们有人可以告诉我它出了什么问题吗?
问题是有时它不工作,有时它工作不顺利。怎么了?
提前谢谢。
看起来您已restartOnPushState禁用,这就是为什么在您在帖子之间导航时它没有重新启动的原因。
restartOnPushState
<script data-pace-options='{ "restartOnPushState": false, "restartOnRequestAfter": false }' src="http://www.thewired.ru/js/pace.js" type="text/javascript"></script>