Asynchronous switch functions (Make sure the DOM is parsed after switching) (#79)

* Make sure the DOM is parsed after switching

* Fix reload-link in the example
This commit was merged in pull request #79.
This commit is contained in:
Oskar
2017-12-19 13:58:22 +01:00
committed by Maxime Thirouin
parent 1e40a0d70b
commit be5d58d550
4 changed files with 5 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
<body>
<div class='body'>
<h1>Page 2</h1>
Hello. Go to <a href='index.html'>Index</a>.
Hello. Go to <a href='index.html' class="js-Pjax">Index</a>.
</div>
</body>
</html>