Client html has lowercase function names but they aren't supposed to be lowercase



This is just happening with one element with an onclick function “changeState(‘home’)”. It looks exactly like that in my index.html file but when i go to my website it is automatically changed to “changestate(‘home’)” for some reason. I’ve tried everything & I don’t know what to do now as it is breaking a vital functionality. Please help!


I’ve tried changing the function name to something all caps just to make sure that I’m not stuck with an old cache of the html but this is not the case as the new function name is lower cased as well.