Abort previous pending XHR when navigating

This commit is contained in:
Robin North committed 2018-01-23 15:25:56 +00:00
1 parent 6000ad5620
commit 486ef0e0ba
8 files changed
+89 -6

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>Hello</title>
<script src='../pjax.js'></script>
<script src='example.js'></script>
</head>
<body>
<div class='body'>
<h1>Page 3</h1>
Hello. Go to <a href='index.html' class="js-Pjax">Index</a>.
</div>
</body>
</html>