diff --git a/index.js b/index.js index efa2517..da404ac 100644 --- a/index.js +++ b/index.js @@ -77,6 +77,7 @@ Pjax.prototype = { }, onSwitch: function() { + this.parseDOM(document) trigger(window, "resize scroll") },