зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1567335
- Make sure the animation class for the foreground element is removed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38805 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
6179d86a65
Коммит
1dba48a76d
|
@ -66,6 +66,8 @@ function flashElementOff(
|
||||||
backgroundElt.classList.remove(backgroundClass);
|
backgroundElt.classList.remove(backgroundClass);
|
||||||
|
|
||||||
foregroundElt.classList.remove("theme-fg-contrast");
|
foregroundElt.classList.remove("theme-fg-contrast");
|
||||||
|
// Make sure the foreground animation class is removed
|
||||||
|
foregroundElt.classList.remove("flash-out");
|
||||||
[].forEach.call(
|
[].forEach.call(
|
||||||
foregroundElt.querySelectorAll("[class*=theme-fg-color]"),
|
foregroundElt.querySelectorAll("[class*=theme-fg-color]"),
|
||||||
span => span.classList.remove("theme-fg-contrast")
|
span => span.classList.remove("theme-fg-contrast")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче