Looks like there is a bug in updating css
What OS are you using (uname -a, or Windows version)?
Windows ie 11.0.9600.19180
What programming language are you using (C/C++/Go/Rust)?
go 1.8.3
What did you expect to see and what you saw instead?
there are two buttons with id btn_1 and btn_2
when you clicked on one button, is change its class on active_btn, and class of other button chages to deactive_btn via js First time all change successfully, but when you secondly change class via js, class at object changes but css changes are not shown , and started to work only when you hovered it. It's look like there is some bug with updating css P.S.All works successfully in ie, but don't work in compiled programm.
Code: first changing class on object: (all works fine) document.getElementById("btn_0").className="active_btn"; document.getElementById("btn_1").className="deactive_btn";
Next changing class: (work with bug) document.getElementById("btn_1").className="active_btn"; document.getElementById("btn_0").className="deactive_btn";