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