summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/comments/css/comments.css4
-rw-r--r--apps/comments/js/filesplugin.js4
2 files changed, 3 insertions, 5 deletions
diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css
index 57a731184a0..a9b72252e88 100644
--- a/apps/comments/css/comments.css
+++ b/apps/comments/css/comments.css
@@ -128,6 +128,6 @@
box-shadow: 0 0 6px #f8b9b7;
}
-.app-files .action-comment>img {
- margin-right: 5px;
+.app-files .action-comment {
+ padding: 16px 14px;
}
diff --git a/apps/comments/js/filesplugin.js b/apps/comments/js/filesplugin.js
index 084cfb41034..ec201d1d3f7 100644
--- a/apps/comments/js/filesplugin.js
+++ b/apps/comments/js/filesplugin.js
@@ -14,9 +14,8 @@
var TEMPLATE_COMMENTS_UNREAD =
'<a class="action action-comment permanent" title="{{countMessage}}" href="#">' +
'<img class="svg" src="{{iconUrl}}"/>' +
- '{{count}}' +
'</a>';
-
+
OCA.Comments = _.extend({}, OCA.Comments);
if (!OCA.Comments) {
/**
@@ -122,4 +121,3 @@
})();
OC.Plugins.register('OCA.Files.FileList', OCA.Comments.FilesPlugin);
-