I am having problems updating a Firefox webpage when its class changes dynamically.
I am using the html element "table". When the user clicks a cell in the table header, my script switches the class back and forth between 'sorted_asc' and 'sorted_des.' I have a pseudo-element that adds an arrow glyph (pointing up or down) depending on which class is the cell.
.thead .tr .sorted_asc .cell:after { content: ' \25B2'; }
The problem is that when you click the cell title a second time, the page does not refresh the arrow ... until the user leaves the element. I think this is a mistake, since it works fine in Safari, and since I don't see any: hover over my CSS or other posts that might interfere.
Has anyone seen this before or knows how to get around this problem?
source share