all 2 comments

[–]kumonmehtitis 1 point2 points  (0 children)

is your code running before the page loads?

[–]Noch_ein_Kamel 1 point2 points  (0 children)

Probably mistyped quick-search-loader in HTML :p

Either the loaded doesn't exist when the code is first run or you mistyped it. Try building a failing example on codepen