style: auto-fix linting issues
This commit is contained in:
parent
7c23b5780d
commit
558df133e1
1 changed files with 3 additions and 2 deletions
|
|
@ -197,10 +197,11 @@ export async function loadProfile(username) {
|
||||||
|
|
||||||
const img = document.createElement('img');
|
const img = document.createElement('img');
|
||||||
img.src = statusObj.image;
|
img.src = statusObj.image;
|
||||||
img.style.cssText = 'width: 20px; height: 20px; border-radius: 2px; vertical-align: middle; margin-right: 0.5rem;';
|
img.style.cssText =
|
||||||
|
'width: 20px; height: 20px; border-radius: 2px; vertical-align: middle; margin-right: 0.5rem;';
|
||||||
|
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
if (statusObj.link.startsWith("/")) {
|
if (statusObj.link.startsWith('/')) {
|
||||||
link.href = statusObj.link;
|
link.href = statusObj.link;
|
||||||
}
|
}
|
||||||
link.className = 'status-link';
|
link.className = 'status-link';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue