Abort previous pending XHR when navigating

This commit is contained in:
Robin North
2018-01-23 15:09:57 +00:00
parent 6000ad5620
commit 486ef0e0ba
8 changed files with 89 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
<div class='body'>
<h1>Index</h1>
Hello.
Go to <a href='page2.html' class="js-Pjax">Page 2</a> and view your console to see Pjax events.
Go to <a href='page2.html' class="js-Pjax">Page 2</a> or <a href='page3.html' class="js-Pjax">Page 3</a> and view your console to see Pjax events.
Clicking on <a href='index.html'>this page</a> will just reload the page entirely.
</div>
</body>