Skip to content

Commit f995680

Browse files
committedMar 31, 2020
Release v7.8.0
1 parent d259c38 commit f995680

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎layout/_scripts/pjax.swig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ window.addEventListener('pjax:success', () => {
3636
// Force synchronous loading of peripheral JS.
3737
script.async = false;
3838
}
39-
if (element.getAttribute('pjax') !== null) {
40-
script.setAttribute('pjax', '');
39+
if (element.dataset.pjax !== undefined) {
40+
script.dataset.pjax = '';
4141
}
4242
if (code !== '') {
4343
script.appendChild(document.createTextNode(code));

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-theme-next",
3-
"version": "7.7.2",
3+
"version": "7.8.0",
44
"description": "Elegant and powerful theme for Hexo.",
55
"main": "gulpfile.js",
66
"scripts": {

0 commit comments

Comments
 (0)
Please sign in to comment.