- Add null check for classList before calling contains() - Handles case where nextSibling might be a text node - Prevents 'classList is undefined' error |
||
|---|---|---|
| .. | ||
| auth.html | ||
| base.html | ||
| browse.html | ||
| chat.html | ||
| index.html | ||
| profile.html | ||
| search.html | ||
- Add null check for classList before calling contains() - Handles case where nextSibling might be a text node - Prevents 'classList is undefined' error |
||
|---|---|---|
| .. | ||
| auth.html | ||
| base.html | ||
| browse.html | ||
| chat.html | ||
| index.html | ||
| profile.html | ||
| search.html | ||