DEV: remove animating class (#24830)
class is no longer needed to detect animations since the change in:
c2295b9d5d
This commit is contained in:
parent
598961086c
commit
4e8f9e8fd2
|
@ -68,11 +68,7 @@ const SiteHeaderComponent = MountWidget.extend(
|
|||
fill: "forwards",
|
||||
easing: "ease-out",
|
||||
};
|
||||
panel
|
||||
.animate([{ transform: `translate3d(0, 0, 0)` }], timing)
|
||||
.finished.then(() => {
|
||||
panel.classList.remove("animating");
|
||||
});
|
||||
panel.animate([{ transform: `translate3d(0, 0, 0)` }], timing);
|
||||
headerCloak.animate([{ opacity: 1 }], timing);
|
||||
this.pxClosed = null;
|
||||
},
|
||||
|
@ -381,7 +377,6 @@ const SiteHeaderComponent = MountWidget.extend(
|
|||
this._swipeMenuOrigin = "left";
|
||||
finalPosition = -this._PANEL_WIDTH;
|
||||
}
|
||||
panel.classList.add("animating");
|
||||
animationFinished = panel.animate(
|
||||
[{ transform: `translate3d(${finalPosition}px, 0, 0)` }],
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue