mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix pjax
This commit is contained in:
1 parent
89833491ed
commit
55d9d41265
2 files changed
+1
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.22.15",
|
"version": "4.22.16",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ function decProgress() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pjax.request = async (opt) => {
|
pjax.request = async (opt) => {
|
||||||
if (typeof opt === 'string') opt = { url: opt };
|
|
||||||
const options = {
|
const options = {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
push: true,
|
push: true,
|
||||||
|
|||||||
Reference in new issue
Block a user