-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(scrollspy): 목차 아이템의 id 값이 중복될 때 발생하던 문제 해결 (#75)
포스트 상세 화면에서 각 목차의 제목이 같을 경우 동시에 active 표시되는 현상이 있었고, 클로져를 이용하여 아이디 값이 이미 존재한다면 numbering된 id 값을 사용하도록 하여 문제를 해결함 Signed-off-by: chayeoi <chayeoikeem@gmail.com>
- Loading branch information
Showing
2 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters