summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorSugaroverdose <n1nj4p0w3r@gmail.com>2015-01-14 22:09:09 +0300
committerSugaroverdose <n1nj4p0w3r@gmail.com>2015-01-15 12:26:55 +0300
commitb2de3b3d8d496e449ffaed7400be70603ceb7866 (patch)
tree79467a9815160bf5662ee875b5d49b53258a8a6c /apps/files
parent5f7c115dfee58db718d0887562a5a8df8ccc7279 (diff)
downloadnextcloud-server-b2de3b3d8d496e449ffaed7400be70603ceb7866.tar.gz
nextcloud-server-b2de3b3d8d496e449ffaed7400be70603ceb7866.zip
Force browser to redraw favorite icon
on src change
Diffstat (limited to 'apps/files')
-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 a6757431ffa..8705afb5094 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);
}