Migration UI complete.
This commit is contained in:
parent
eb48b92551
commit
6bab5b4723
9 changed files with 45 additions and 14 deletions
|
|
@ -18,6 +18,7 @@ class migratePrompt{
|
|||
constructor(){
|
||||
//Grab user prompt
|
||||
this.user = document.querySelector("#migrate-username");
|
||||
this.user.value = window.location.search.replace("?user=",'');
|
||||
//Grab pass prompts
|
||||
this.oldPass = document.querySelector("#migrate-password-old");
|
||||
this.pass = document.querySelector("#migrate-password");
|
||||
|
|
@ -37,6 +38,8 @@ class migratePrompt{
|
|||
//Add verification event listener to altcha widget
|
||||
this.altcha.addEventListener("verified", this.verify.bind(this));
|
||||
|
||||
console.log(this.button);
|
||||
|
||||
//Add migrate event listener to migrate button
|
||||
this.button.addEventListener("click", this.migrate.bind(this));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue