mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Force focus with query param to show focus message
This commit is contained in:
parent
a4ed38e59d
commit
f4341b6e36
@ -153,6 +153,7 @@
|
|||||||
$('select').material_select();
|
$('select').material_select();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (getParameterByName("forcefocus") == "1") {
|
||||||
if (document.hasFocus()) {
|
if (document.hasFocus()) {
|
||||||
primeEmbed();
|
primeEmbed();
|
||||||
}
|
}
|
||||||
@ -162,6 +163,9 @@
|
|||||||
primeEmbed();
|
primeEmbed();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
primeEmbed();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function changeTheme(theme) {
|
function changeTheme(theme) {
|
||||||
|
Loading…
Reference in New Issue
Block a user