mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
After changing the username, it should just refetch
This commit is contained in:
parent
a165722856
commit
e44ab58aa8
@ -825,7 +825,9 @@
|
|||||||
var usr = change_unauthenticated_username($(this).val());
|
var usr = change_unauthenticated_username($(this).val());
|
||||||
usr.done(function(data) {
|
usr.done(function(data) {
|
||||||
Materialize.toast('Username changed successfully!', 10000);
|
Materialize.toast('Username changed successfully!', 10000);
|
||||||
initialize_embed();
|
priority_query_guild = true;
|
||||||
|
clearTimeout(fetchtimeout);
|
||||||
|
run_fetch_routine();
|
||||||
});
|
});
|
||||||
usr.fail(function(data) {
|
usr.fail(function(data) {
|
||||||
if (data.status == 429) {
|
if (data.status == 429) {
|
||||||
|
Loading…
Reference in New Issue
Block a user