Skip to content

Commit

Permalink
Release v7.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Mar 31, 2020
1 parent d259c38 commit f995680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions layout/_scripts/pjax.swig
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ window.addEventListener('pjax:success', () => {
// Force synchronous loading of peripheral JS.
script.async = false;
}
if (element.getAttribute('pjax') !== null) {
script.setAttribute('pjax', '');
if (element.dataset.pjax !== undefined) {
script.dataset.pjax = '';
}
if (code !== '') {
script.appendChild(document.createTextNode(code));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-next",
"version": "7.7.2",
"version": "7.8.0",
"description": "Elegant and powerful theme for Hexo.",
"main": "gulpfile.js",
"scripts": {
Expand Down

0 comments on commit f995680

Please sign in to comment.