summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-10-30 18:17:59 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-10-30 18:17:59 +0100
commit446a3d2f215f52529955ebe4edd036806f00bfb2 (patch)
tree4e89ecaf207fd6bc617a73602b42576c788a4288 /apps/files
parent9df618131b5552577c0c79fa71ec0ead1c4493cb (diff)
downloadnextcloud-server-446a3d2f215f52529955ebe4edd036806f00bfb2.tar.gz
nextcloud-server-446a3d2f215f52529955ebe4edd036806f00bfb2.zip
Reverse favorite icon coloring in files action menu
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/tagsplugin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js
index 7e2aecef6fa..747a7245a56 100644
--- a/apps/files/js/tagsplugin.js
+++ b/apps/files/js/tagsplugin.js
@@ -110,10 +110,10 @@
var isFavorite = $file.data('favorite') === true;
if (isFavorite) {
- return 'icon-starred';
+ return 'icon-star-dark';
}
- return 'icon-star';
+ return 'icon-starred';
},
actionHandler: function(fileName, context) {
var $favoriteMarkEl = context.$file.find('.favorite-mark');