change something to use markdown instead of html
This commit is contained in:
parent
858437e876
commit
ea60847529
2 changed files with 4 additions and 2 deletions
|
@ -283,8 +283,10 @@ class Localuser{
|
|||
this.errorBackoff = 0;
|
||||
else this.errorBackoff++;
|
||||
this.connectionSucceed = 0;
|
||||
const loaddesc=document.getElementById("load-desc") as HTMLElement;
|
||||
|
||||
(document.getElementById("load-desc") as HTMLElement).innerHTML = I18n.getTranslation("errorReconnect",Math.round(0.2 + this.errorBackoff * 2.8)+"")
|
||||
loaddesc.innerHTML ="";
|
||||
loaddesc.append(new MarkDown(I18n.getTranslation("errorReconnect",Math.round(0.2 + this.errorBackoff * 2.8)+"")).makeHTML());
|
||||
switch(
|
||||
this.errorBackoff //try to recover from bad domain
|
||||
){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue