fix hiding install button

This commit is contained in:
Til Schmitter 2026-06-20 15:50:14 +02:00
parent 72ca118e82
commit c2bd3b9754
2 changed files with 5 additions and 5 deletions

View file

@ -5543,8 +5543,8 @@ html.by #spaceUsed_bar {
text-align: right;
left: auto;
}
#op_acc a:not(.btn),
#op_acc input {
#op_acc a:not([hidden]):not(.btn),
#op_acc input:not([hidden]) {
font-size: 1.2em;
display: block;
cursor: pointer;

View file

@ -2445,9 +2445,9 @@ window.addEventListener('load', async () => {
if(ebi('inst')){
var installPrompt = null;
window.addEventListener("beforeinstallprompt", function(e) {
e.preventDefault();
installPrompt = e;
ebi('inst').removeAttribute("hidden");
e.preventDefault();
installPrompt = e;
ebi('inst').removeAttribute("hidden");
});
ebi('inst').onclick = async function(){
if (!installPrompt) {