fix: export smallBadge from viewer.js, import in sidebar.js
This commit is contained in:
@@ -631,7 +631,7 @@ export function icon(name, size) {
|
||||
return i;
|
||||
}
|
||||
|
||||
function smallBadge(count) {
|
||||
export function smallBadge(count) {
|
||||
const s = document.createElement("span");
|
||||
s.className = "badge-small";
|
||||
s.style.cssText = "font-size:0.68rem;color:var(--text-muted);margin-left:4px";
|
||||
|
||||
Reference in New Issue
Block a user