Closing full screen viewer on click

This commit is contained in:
koloml committed 2024-06-23 15:07:16 +04:00
1 parent 1c5b87e3d4
commit eda7342144
1 file changed
+4
@@ -61,6 +61,10 @@ export class ImageShowFullscreenButton extends BaseComponent {
}
});
element.addEventListener('click', () => {
element.classList.remove('shown');
});
return element;
}
}