by Patrick Selby.
I don't think the theme cache will cause that behavior but more likely the theme itself,
Flush your theme cache though to make sure your working with freshly cached JS files.
It was the Rocket theme that I had this issue with, under 2.3 it was fine, under 2.4 it gave that same behavior.