master
Aevann 2023-06-07 04:19:16 +03:00
parent 5db500d02f
commit e3149c2a7d
2 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ function sort_table(t) {
}
}
if (window.matchMedia('(display-mode: minimal-ui)')['matches']) {
if (window.matchMedia('(display-mode: standalone)')['matches']) {
const links = document.querySelectorAll('a[data-target="t"]');
for (const link of links) {
link.removeAttribute("target");

View File

@ -1,4 +1,4 @@
if (!window.matchMedia('(display-mode: minimal-ui)')['matches']) {
if (!window.matchMedia('(display-mode: standalone)')['matches']) {
if (window.innerWidth <= 737) {
const tt = bootstrap.Tooltip.getOrCreateInstance(document.getElementById('mobile-prompt'))
tt.show()