mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-17 03:45:25 +02:00
Prefill username field for guests with query param, Resolves #43
This commit is contained in:
@ -234,6 +234,10 @@
|
||||
}
|
||||
});
|
||||
|
||||
if (getParameterByName("username")) {
|
||||
$("#custom_username_field").val(getParameterByName("username"));
|
||||
}
|
||||
|
||||
if (getParameterByName("forcefocus") == "1") {
|
||||
if (document.hasFocus()) {
|
||||
primeEmbed();
|
||||
|
Reference in New Issue
Block a user