Skip to content

Commit

Permalink
修改点击轮播点轮播点样式未更新
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaogliu committed May 7, 2018
1 parent eb7d4db commit 19210cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/pureFullPage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/js/pureFullPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class PureFullPage {
this.navDots.forEach(el => {
utils.deleteClassName(el, 'active');
});
event.target.classList.add('active');
el.classList.add('active');
});
});
}
Expand Down

0 comments on commit 19210cd

Please sign in to comment.