minor fixes

This commit is contained in:
MathMan05 2024-09-03 16:06:50 -05:00
parent 3469721114
commit 952638a4c6
3 changed files with 4 additions and 4 deletions

View file

@ -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 {

View file

@ -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 {

View file

@ -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);