diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-15 11:20:22 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-15 11:20:22 +0100 |
commit | 2fbe8bbcba2e6387669f0028cb5a3d314336efe4 (patch) | |
tree | cfef096fe09db9ff1e569bd22571e9a4d8a3d70e /apps/files/js | |
parent | 9b7c1a00935538d78cc677ee5d0eea10fba1def5 (diff) | |
parent | b2de3b3d8d496e449ffaed7400be70603ceb7866 (diff) | |
download | nextcloud-server-2fbe8bbcba2e6387669f0028cb5a3d314336efe4.tar.gz nextcloud-server-2fbe8bbcba2e6387669f0028cb5a3d314336efe4.zip |
Merge pull request #13370 from Sugaroverdose/fix_#13322
Force browser to redraw favorite icon on src change
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/tagsplugin.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js index dec6063aa9b..22a92f8400b 100644 --- a/apps/files/js/tagsplugin.js +++ b/apps/files/js/tagsplugin.js @@ -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); } |