mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
docs(proxy): edit proxy
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ function init_back_to_top_button() {
|
||||
|
||||
function goTop(e) {
|
||||
if(e) e.preventDefault();
|
||||
$('html body').animate({
|
||||
$('html, body').animate({
|
||||
scrollTop: 0
|
||||
}, 200);
|
||||
history.pushState(null, null, '#' + location.hash.split('#')[1]);
|
||||
|
||||
Reference in New Issue
Block a user