diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-24 16:13:56 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-24 17:23:35 +0300 |
commit | 277da8944ed6229dd7c03a31c9f5fe7656d6b138 (patch) | |
tree | 5d48b043e2c0b6b956a999271e9837ecf064783f | |
parent | 6982181dc3583ef8843fd1fa8ddfc35a03978358 (diff) |
Use CSS instead of the image directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | css/styles.css | 2 | ||||
-rw-r--r-- | js/app.js | 3 |
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; } @@ -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>', |