Add caption to close button

This commit is contained in:
Alex Cabal 2022-07-25 18:25:39 -05:00
parent 9321f14ba3
commit 1be152642f
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ $digits = str_split(str_pad($current, 3, "0", STR_PAD_LEFT))
<? if($autoHide){ ?>
<form action="/settings" method="post">
<input type="hidden" name="hide-donation-alert" value="1" />
<button class="close">Close this alert</button>
<button class="close" title="Close this box">Close this box</button>
</form>
<? } ?>
<header>

View file

@ -29,7 +29,7 @@ if($stretchTarget > 0 && $current >= $target){
<? if($autoHide){ ?>
<form action="/settings" method="post">
<input type="hidden" name="hide-donation-alert" value="1" />
<button class="close">Close this alert</button>
<button class="close" title="Close this box">Close this box</button>
</form>
<? } ?>
<? if(!$stretchOn){ ?>