Re:You might not need jQuery (2014)
by asiando on Thursday January 14, 2021 @03:14AM
(#25773579)
Yes but the former will silently fail on you. Good luck finding that!
[ Parent
| on HN ]
This is probably a feature. The non-jquery version will need a check for the elements existance to not blow up, which could the same be added to the jquery version for error reporting.
Plus, in this case, you will find out by seeing the dark theme is not active :p