Skip to content
Snippets Groups Projects
Commit 2fbe8bbc authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #13370 from Sugaroverdose/fix_#13322

Force browser to redraw favorite icon on src change 
parents 9b7c1a00 b2de3b3d
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@
*/
function toggleStar($actionEl, state) {
$actionEl.find('img').attr('src', getStarImage(state));
$actionEl.hide().show(0); //force Safari to redraw element on src change
$actionEl.toggleClass('permanent', state);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment