When my page loads, I hide the icon-refresh + icon-spin
icon by setting its display
property to none.
Now, after some action is performed, I wish to display this icon. I invoke jQuery's .show()
method on the icon. However, while the icon is shown, the icon is not spinning anymore.
If I load it without hiding it initially, it spins. But not when it is hidden and displayed later.
EDIT: If it was not clear from the title, I am using Font Awesome to display the icons