Browse Source

Merge pull request 'fix go top error in wechat browser' (#3505) from fix-csh into V20221228

Reviewed-on: https://openi.pcl.ac.cn/OpenI/aiforge/pulls/3505
Reviewed-by: zhoupzh <zhoupzh@pcl.ac.cn>
fix-3470
zhoupzh 2 years ago
parent
commit
f51aab9256
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web_src/js/index.js

+ 1
- 1
web_src/js/index.js View File

@@ -5221,7 +5221,7 @@ function initTopToHome() {
}
});
topToHomeEl.on('click', function() {
$('html').animate({ scrollTop: 0 }, 'slow', 'swing');
$('html,body').animate({ scrollTop: 0 }, 'slow', 'swing');
});
}



Loading…
Cancel
Save