Finished up with channel rank/perms frontend.
This commit is contained in:
parent
edb4215929
commit
796bb033a7
22 changed files with 472 additions and 57 deletions
|
|
@ -47,7 +47,11 @@ class profileEditPrompt{
|
|||
//Setup properties
|
||||
this.prompt.id = `profile-${this.field}-prompt`;
|
||||
this.prompt.classList.add("profile-edit-prompt");
|
||||
this.prompt.placeholder = this.content.innerHTML;
|
||||
if(this.field == "img"){
|
||||
this.prompt.placeholder = this.content.src;
|
||||
}else{
|
||||
this.prompt.placeholder = this.content.innerHTML;
|
||||
}
|
||||
|
||||
//Setup event listener
|
||||
this.prompt.addEventListener("keydown", this.update.bind(this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue