Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
greggturkington
· 5y ago · 0 comments
$('.loader').removeClass().addClass(text);
This function has a dependency on jQuery, even if I have "jQuery" unchecked. It's a simple enough function that you may consider replacing it with pure JS.
Comments
[–]
allenwhsu
5y ago
Hey thanks so much! I have added "jQuery required" for now and will update to a cleaner solution later tonight.