зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1536728 - Reset anchorElement (icon) extraAttr when showing notification icons. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D62527 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
add3f468e5
Коммит
7551d7e812
|
@ -1458,6 +1458,8 @@ PopupNotifications.prototype = {
|
|||
|
||||
if (notification.options.extraAttr) {
|
||||
anchorElm.setAttribute("extraAttr", notification.options.extraAttr);
|
||||
} else {
|
||||
anchorElm.removeAttribute("extraAttr");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче