minor fixes
This commit is contained in:
parent
3469721114
commit
952638a4c6
3 changed files with 4 additions and 4 deletions
|
@ -293,7 +293,7 @@ class User extends SnowFlake {
|
|||
if (this.hypotheticalpfp && this.avatar) {
|
||||
return this.avatar;
|
||||
}
|
||||
if (this.avatar != null) {
|
||||
if (this.avatar !== null) {
|
||||
return this.info.cdn + "/avatars/" + this.id.replace("#clone", "") + "/" + this.avatar + ".png";
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -922,7 +922,7 @@ input[type="checkbox"] {
|
|||
}
|
||||
|
||||
.quote {
|
||||
display: inline-block;
|
||||
display: flex;
|
||||
width: fit-content;
|
||||
position: relative;
|
||||
}
|
||||
|
@ -937,7 +937,7 @@ input[type="checkbox"] {
|
|||
|
||||
.quote > span {
|
||||
margin-left: 0.5em;
|
||||
display: flex;
|
||||
display: block;
|
||||
align-items: center;
|
||||
}
|
||||
span {
|
||||
|
|
|
@ -295,7 +295,7 @@ class User extends SnowFlake{
|
|||
if(this.hypotheticalpfp&&this.avatar){
|
||||
return this.avatar;
|
||||
}
|
||||
if(this.avatar!=null){
|
||||
if(this.avatar!==null){
|
||||
return this.info.cdn+"/avatars/"+this.id.replace("#clone","")+"/"+this.avatar+".png";
|
||||
}else{
|
||||
const int=new Number((BigInt(this.id.replace("#clone","")) >> 22n) % 6n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue