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

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-24 16:13:56 +0300
committerJoas Schilling <coding@schilljs.com>2017-04-24 17:23:35 +0300
commit277da8944ed6229dd7c03a31c9f5fe7656d6b138 (patch)
tree5d48b043e2c0b6b956a999271e9837ecf064783f
parent6982181dc3583ef8843fd1fa8ddfc35a03978358 (diff)
Use CSS instead of the image directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--css/styles.css2
-rw-r--r--js/app.js3
2 files changed, 2 insertions, 3 deletions
diff --git a/css/styles.css b/css/styles.css
index 753a66c..63aa55c 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -80,7 +80,7 @@ img.notification-icon {
cursor: pointer;
}
-.notification-delete img, .notifications-button img {
+.notification-delete div, .notifications-button img {
cursor: pointer;
}
diff --git a/js/app.js b/js/app.js
index 295c2fe..8ff5b00 100644
--- a/js/app.js
+++ b/js/app.js
@@ -74,8 +74,7 @@
' {{/each}}' +
' </div>' +
' <div style="display: none;" class="notification-delete">' +
- ' <img class="svg" alt="' + t('notifications', 'Dismiss') + '"' +
- ' src="' + OC.imagePath('core', 'actions/close') + '">' +
+ ' <div class="icon icon-close svg" title="' + t('notifications', 'Dismiss') + '"></div>' +
' </div>' +
'</div>',