Make sure the DOM is parsed after switching

This commit is contained in:
Oskar Rough committed 2016-11-15 23:06:26 +01:00
1 parent acdd87ef3d
commit ebc7fa462c
1 file changed
+1
+1
View File
@@ -77,6 +77,7 @@ Pjax.prototype = {
},
onSwitch: function() {
this.parseDOM(document)
trigger(window, "resize scroll")
},