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) {
|
if (this.hypotheticalpfp && this.avatar) {
|
||||||
return 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";
|
return this.info.cdn + "/avatars/" + this.id.replace("#clone", "") + "/" + this.avatar + ".png";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -922,7 +922,7 @@ input[type="checkbox"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote {
|
.quote {
|
||||||
display: inline-block;
|
display: flex;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -937,7 +937,7 @@ input[type="checkbox"] {
|
||||||
|
|
||||||
.quote > span {
|
.quote > span {
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
display: flex;
|
display: block;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
span {
|
span {
|
||||||
|
|
|
@ -295,7 +295,7 @@ class User extends SnowFlake{
|
||||||
if(this.hypotheticalpfp&&this.avatar){
|
if(this.hypotheticalpfp&&this.avatar){
|
||||||
return 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";
|
return this.info.cdn+"/avatars/"+this.id.replace("#clone","")+"/"+this.avatar+".png";
|
||||||
}else{
|
}else{
|
||||||
const int=new Number((BigInt(this.id.replace("#clone","")) >> 22n) % 6n);
|
const int=new Number((BigInt(this.id.replace("#clone","")) >> 22n) % 6n);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue