From 57262f953d4b9d3dd2f417a7c3f36f3ffa3e8be6 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Fri, 12 Jan 2018 16:26:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B0=E7=89=88=E6=9C=ACch?= =?UTF-8?q?rome=E6=BB=9A=E5=8A=A8=E5=88=B0=E9=A1=B6=E9=83=A8=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/XXL-JOB官方文档.md | 1 + xxl-job-admin/src/main/webapp/static/js/common.1.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index 0f6e5a93..7eed4615 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -1127,6 +1127,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段 ### 6.21 版本 V1.9.1 特性[迭代中] - 1、修复打包部署时资源文件乱码问题; +- 2、修复新版本chrome滚动到顶部失效问题; ### TODO LIST - 1、任务权限管理:执行器为粒度分配权限,核心操作校验权限; diff --git a/xxl-job-admin/src/main/webapp/static/js/common.1.js b/xxl-job-admin/src/main/webapp/static/js/common.1.js index b11af37a..f8363e94 100644 --- a/xxl-job-admin/src/main/webapp/static/js/common.1.js +++ b/xxl-job-admin/src/main/webapp/static/js/common.1.js @@ -68,7 +68,7 @@ $(function(){ } }); $(slideToTop).click(function () { - $("body").animate({ + $("html,body").animate({ // firefox ie not support body, chrome support body. but found that new version chrome not support body too. scrollTop: 0 }, 100); });