forked from MarseyWorld/MarseyWorld
accomodate 8488e98780
parent
5db500d02f
commit
e3149c2a7d
|
@ -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");
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue