Update description
This commit is contained in:
parent
f863588060
commit
79638d5fa4
5 changed files with 254 additions and 59 deletions
|
|
@ -71,6 +71,10 @@ const main = async () => {
|
|||
HTMLButtonElement
|
||||
);
|
||||
const infoButton = queryRequiredElement('[data-control="info"]', HTMLButtonElement);
|
||||
const infoCloseButton = queryRequiredElement(
|
||||
'[data-control="info-close"]',
|
||||
HTMLButtonElement
|
||||
);
|
||||
const infoElement = queryRequiredElement('.info-page', HTMLElement);
|
||||
const fullScreenButton = queryRequiredElement(
|
||||
'[data-control="full-screen"]',
|
||||
|
|
@ -113,6 +117,7 @@ const main = async () => {
|
|||
};
|
||||
|
||||
const infoPageHandler = new CollapsiblePanelAnimator(infoButton, infoElement, aside);
|
||||
infoCloseButton.addEventListener('click', () => infoPageHandler.close());
|
||||
new MenuHider(
|
||||
aside,
|
||||
() =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue