Merge branch 'master' into bring_back_animation

This commit is contained in:
schlagmichdoch 2025-02-17 11:00:32 +01:00
commit 3240921207
8 changed files with 57 additions and 39 deletions

View file

@ -81,7 +81,7 @@ class PairDrop {
}
onPwaInstallable(e) {
if (!window.matchMedia('(display-mode: minimal-ui)').matches) {
if (!window.matchMedia('(display-mode: standalone)').matches) {
// only display install btn when not installed
this.$headerInstallBtn.removeAttribute('hidden');
this.$headerInstallBtn.addEventListener('click', () => {