Merge pull request #91 from TildenJ/fixPjax
fix: add the pjax object as a property of the window object
This commit is contained in:
commit
5db78b5364
|
@ -1,7 +1,7 @@
|
|||
<%- __js('js/libs/pjax.min.js') %>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
const pjax = new Pjax({
|
||||
window.pjax = new Pjax({
|
||||
selectors: [
|
||||
'head title',
|
||||
'.page-container',
|
||||
|
|
Loading…
Reference in New Issue