-
Notifications
You must be signed in to change notification settings - Fork 2k
Labels
Description
I agree and want to create new issue
- Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
- Yes, I was on NexT Documentation Site.
- And yes, I already searched for current issues and this is not help to me.
Expected behavior
With PJAX, the page will not refresh after closing the image's fancybox window
Actual behavior
see the next part (Steps to reproduce the behavior)
Steps to reproduce the behavior
After adding PJAX support:
- visit my pjax test site
- click menu item "关于更多"
- click the QRcode image to open fancybox window
- click "X" to close fancybox window
- the page will refresh once
- Link to demo site with this bug: my pjax test site
- Link(s) to source code or any usefull link(s): https://github.com/lei2rock/blog/tree/pjax
Node.js and NPM Information
v12.1.0
6.10.0
Package dependencies Information
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.9.0"
},
"dependencies": {
"hexo": "^3.9.0",
"hexo-abbrlink": "^2.0.5",
"hexo-deployer-git": "^1.0.0",
"hexo-generator-archive": "^0.1.5",
"hexo-generator-category": "^0.1.3",
"hexo-generator-indexed": "^0.1.1",
"hexo-generator-searchdb": "^1.0.8",
"hexo-generator-sitemap": "^1.2.0",
"hexo-generator-tag": "^0.2.0",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-marked": "^1.0.1",
"hexo-renderer-stylus": "^0.3.3",
"hexo-server": "^0.3.3",
"image-size": "^0.7.4"
}
}
Hexo Information
Hexo version
hexo: 3.9.0
hexo-cli: 2.0.0
os: Darwin 18.7.0 darwin x64
node: 12.1.0
v8: 7.4.288.21-node.16
uv: 1.28.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 72
nghttp2: 1.38.0
napi: 4
llhttp: 1.1.1
http_parser: 2.8.0
openssl: 1.1.1b
cldr: 35.1
icu: 64.2
tz: 2019a
unicode: 12.1
Hexo Configuration
https://github.com/lei2rock/blog/blob/pjax/_config.yml
NexT Information
NexT Version:
- Latest Master branch
- Latest Release version
- Old version
NexT Scheme:
- All schemes
- Muse
- Mist
- Pisces
- Gemini
NexT Configuration:
https://github.com/lei2rock/blog/blob/pjax/source/_data/next.yml
Other Information
Reactions are currently unavailable