Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-01-15 13:20:22 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-01-15 13:20:22 +0300
commit2fbe8bbcba2e6387669f0028cb5a3d314336efe4 (patch)
treecfef096fe09db9ff1e569bd22571e9a4d8a3d70e /apps/files/js/tagsplugin.js
parent9b7c1a00935538d78cc677ee5d0eea10fba1def5 (diff)
parentb2de3b3d8d496e449ffaed7400be70603ceb7866 (diff)
Merge pull request #13370 from Sugaroverdose/fix_#13322
Force browser to redraw favorite icon on src change
Diffstat (limited to 'apps/files/js/tagsplugin.js')
-rw-r--r--apps/files/js/tagsplugin.js1
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);
}