web/PopoverContainer: refactor & simplify code

why the fuck was it that way in the first place
This commit is contained in:
wukko
2025-03-07 20:47:43 +06:00
parent 3935396709
commit 714e71751e
3 changed files with 14 additions and 20 deletions

View File

@@ -41,7 +41,7 @@
<button
id="services-button"
class="button"
on:click={popover?.showPopover}
on:click={popoverAction}
aria-label={$t(`save.services.title_${expanded ? "hide" : "show"}`)}
>
<div class="expand-icon">
@@ -54,7 +54,6 @@
bind:this={popover}
id="services-popover"
{expanded}
{popoverAction}
>
<div
id="services-container"