various fixes
This commit is contained in:
parent
93a5bfd392
commit
df82ca27d1
3 changed files with 4 additions and 6 deletions
|
@ -78,6 +78,8 @@ class Direct extends Guild {
|
|||
return ddiv;
|
||||
}
|
||||
noChannel(addstate: boolean) {
|
||||
const ghostMessages = document.getElementById("ghostMessages");
|
||||
if (ghostMessages) ghostMessages.innerHTML = "";
|
||||
if (addstate) {
|
||||
history.pushState([this.id, undefined], "", "/channels/" + this.id);
|
||||
}
|
||||
|
|
|
@ -1044,12 +1044,7 @@ function formatTime(date: Date) {
|
|||
} else if (datestring === yesterdayStr) {
|
||||
return I18n.getTranslation("yesterdayAt", formatTime(date));
|
||||
} else {
|
||||
return I18n.getTranslation(
|
||||
"otherAt",
|
||||
formatTime(date),
|
||||
date.toLocaleDateString(),
|
||||
formatTime(date),
|
||||
);
|
||||
return I18n.getTranslation("otherAt", date.toLocaleDateString(), formatTime(date));
|
||||
}
|
||||
}
|
||||
let tomorrow = 0;
|
||||
|
|
|
@ -1187,6 +1187,7 @@ span.instanceStatus {
|
|||
flex: 1;
|
||||
max-height: fit-content;
|
||||
flex-basis: auto;
|
||||
flex-grow: 0;
|
||||
}
|
||||
.scroller {
|
||||
flex: 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue