RubyGems
npm
Organizations
Log in
Sign up
npm
hexo-theme-shokax
Versions diffs
0.5.0-dev-4774f82 → 0.5.0-dev-e34ffd2
hexo-theme-shokax 0.5.0-dev-4774f82 → 0.5.0-dev-e34ffd2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/package.json
+1
-1
package/source/js/_app/pjax/siteInit.ts
+1
-1
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "hexo-theme-shokax",
3
-
"version": "0.5.0-dev-
4774f82
",
3
+
"version": "0.5.0-dev-
e34ffd2
",
4
4
"description": "a hexo theme based on shoka",
5
5
"main": "index.js",
6
6
"repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
package/source/js/_app/pjax/siteInit.ts
CHANGED
Viewed
@@ -65,7 +65,7 @@ const siteInit = async () => {
65
65
passive: true
66
66
})
67
67
68
-
window.addEventListener('
beforeunload
', () => {
68
+
window.addEventListener('
visibilitychange
', () => {
69
69
pagePosition()
70
70
})
71
71
await siteRefresh(1)