Fix smooth scroll for multi-language setup (#93)
This commit is contained in:
parent
c7f2ad72ea
commit
56c8ba4e43
30 changed files with 94 additions and 43 deletions
|
@ -64,6 +64,8 @@ var isMobile = false, isTablet = false, isLaptop = false;
|
|||
$target.focus(); // Set focus again
|
||||
};
|
||||
});
|
||||
// Add hash (#) to URL when done scrolling (default click behavior)
|
||||
window.location.hash = this.hash
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue