mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 09:56:14 -04:00
Typos & clean
This commit is contained in:
parent
59c54298d5
commit
7c1e93472f
13 changed files with 31 additions and 68 deletions
|
@ -53,7 +53,7 @@ export const scrollspy = {
|
|||
// Scroll stop
|
||||
scrollStop() {
|
||||
let isScrolling;
|
||||
window.addEventListener('scroll', function (event) {
|
||||
window.addEventListener('scroll', function(event) {
|
||||
window.clearTimeout(isScrolling);
|
||||
isScrolling = setTimeout(function() {
|
||||
this.setActiveNav();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue