ELECTRON-695 - Fixing hover close button on notification (#475)

This commit is contained in:
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
2018-08-28 03:17:24 -03:00
committed by Vishwas Shashidhar
parent 10e0f8a295
commit 29fb713b75
2 changed files with 7 additions and 2 deletions

View File

@@ -89,6 +89,7 @@ function setContents(event, notificationObj) {
let messageDoc = notiDoc.getElementById('message');
let imageDoc = notiDoc.getElementById('image');
let closeButton = notiDoc.getElementById('close');
closeButton.title = notificationObj.i18n.close;
if (notificationObj.color) {
container.style.backgroundColor = notificationObj.color;