V
V
Vetal2019-12-02 11:38:00
JavaScript
Vetal, 2019-12-02 11:38:00

Why is IE 11 bad at updating styles?

There is a Stadionwroclaw site on which, using jQuery, it was written to add and remove classes in the html tag and then save these classes using localStorage to change the color of the site and change the fonts. And so IE11 does not update styles after removal of a class through which all colors are written. As soon as I open the code inspector, it updates the styles. What kind of crap and how to deal with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vetal, 2019-12-02
@xarizmat

Understood. The reason was that body didn't have background color set by default. And after removing the contrasting color, it left black bg, since it was not given what to change to.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question