diff --git a/app/run.py b/app/run.py index d387174..906fe2b 100644 --- a/app/run.py +++ b/app/run.py @@ -25,7 +25,7 @@ script_path = os.environ.get("SCRIPT_PATH", "./quark_auto_save.py") config_path = os.environ.get("CONFIG_PATH", "./config/quark_config.json") app = Flask(__name__) -app.config["APP_VERSION"] = "0.2.6" +app.config["APP_VERSION"] = "0.2.6.1" app.secret_key = "ca943f6db6dd34823d36ab08d8d6f65d" app.json.ensure_ascii = False app.json.sort_keys = False diff --git a/app/templates/index.html b/app/templates/index.html index fc34bf5..386bd5f 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -198,6 +198,7 @@
@@ -360,6 +361,12 @@ if (parentDir == "") parentDir = "/" return parentDir; + }, + scrollToTop() { + window.scrollTo({ + top: 0, + behavior: "smooth" + }); } } });