And after that u have to type a code and only then it allows u to switch teams, it can't happen by mistake, although in OPs case it was a problem with the browser... Sorry mate I think u will have to live with it, no way to get back