-
+
diff --git a/public/js/modules/calendar.js b/public/js/modules/calendar.js
index 5dab3ea..24b8e60 100644
--- a/public/js/modules/calendar.js
+++ b/public/js/modules/calendar.js
@@ -398,7 +398,7 @@ function openDayPopup(ds, cellEl) {
`;
}).join('');
} else {
- list.innerHTML = '
no cards
';
+ list.innerHTML = '
no cards
';
}
dayPopup.appendChild(list);
diff --git a/public/js/modules/detail.js b/public/js/modules/detail.js
index 18e0c1b..b0ae324 100644
--- a/public/js/modules/detail.js
+++ b/public/js/modules/detail.js
@@ -807,7 +807,7 @@ function renderSplitGroup(cards, label) {
function renderSplitPicks(cards, label) {
if (!cards.length) {
- splitPicks.innerHTML = `
no matches
`;
+ splitPicks.innerHTML = `
no matches
`;
return;
}
splitPicks.innerHTML = renderSplitGroup(cards, label);
@@ -819,7 +819,7 @@ function renderSplitPicks(cards, label) {
function renderSplitGroups(groups) {
const html = groups.filter(g => g.cards.length).map(g => renderSplitGroup(g.cards, g.label)).join('');
if (!html) {
- splitPicks.innerHTML = `
no matches
`;
+ splitPicks.innerHTML = `
no matches
`;
return;
}
splitPicks.innerHTML = html;
diff --git a/public/js/modules/notifications.js b/public/js/modules/notifications.js
index 1650101..c02e068 100644
--- a/public/js/modules/notifications.js
+++ b/public/js/modules/notifications.js
@@ -148,7 +148,7 @@ function renderStream() {
const all = getAllItems();
if (!all.length) {
- stream.innerHTML = '
no notifications
';
+ stream.innerHTML = '
no notifications
';
return;
}
diff --git a/public/js/modules/search.js b/public/js/modules/search.js
index fb37b46..6ab7d29 100644
--- a/public/js/modules/search.js
+++ b/public/js/modules/search.js
@@ -80,7 +80,7 @@ function updatePreview() {
function renderHome() {
const recent = [...getPool()].sort((a, b) => (b.updated_at || '').localeCompare(a.updated_at || '')).slice(0, 6);
- if (!recent.length) { results.innerHTML = `
no cards yet
`; return; }
+ if (!recent.length) { results.innerHTML = `
no cards yet
`; return; }
results.innerHTML = `
recent
` +
recent.map((c, i) => hitHtml(c, i, null)).join('');
hits = recent; active = recent.length ? 0 : -1;
@@ -110,7 +110,7 @@ function search(query) {
// Tag-only search (no words)
if (!words.length) {
hits = pool; active = pool.length ? 0 : -1;
- if (!pool.length) { results.innerHTML = `
no cards with ${tagFilters.map(t => '#' + t).join(' + ')}
`; footer.classList.add('hidden'); clearPreview(); return; }
+ if (!pool.length) { results.innerHTML = `
no cards with ${tagFilters.map(t => '#' + t).join(' + ')}
`; footer.classList.add('hidden'); clearPreview(); return; }
results.innerHTML = `
${pool.length} tagged
` +
pool.map((c, i) => hitHtml(c, i, null)).join('');
footer.classList.remove('hidden'); bindHits(); updateActive(); updatePreview(); return;
@@ -141,7 +141,7 @@ function search(query) {
}).filter(Boolean).sort((a, b) => b.score - a.score);
hits = scored.map(s => s.card); active = scored.length ? 0 : -1;
- if (!scored.length) { results.innerHTML = `
no results for "${esc(query)}"
`; footer.classList.add('hidden'); clearPreview(); return; }
+ if (!scored.length) { results.innerHTML = `
no results for "${esc(query)}"
`; footer.classList.add('hidden'); clearPreview(); return; }
results.innerHTML = `
${scored.length} result${scored.length > 1 ? 's' : ''}
` +
scored.map((s, i) => hitHtml(s.card, i, words)).join('');
footer.classList.remove('hidden'); bindHits(); updateActive(); updatePreview();
diff --git a/public/plugins/chat/chat.html b/public/plugins/chat/chat.html
index 1a85b73..9b96c0c 100644
--- a/public/plugins/chat/chat.html
+++ b/public/plugins/chat/chat.html
@@ -14,7 +14,7 @@
-
no conversations yet
+
no conversations yet
diff --git a/public/plugins/chat/chat.js b/public/plugins/chat/chat.js
index 6cef9f0..39428f2 100644
--- a/public/plugins/chat/chat.js
+++ b/public/plugins/chat/chat.js
@@ -307,7 +307,7 @@ async function openPickView() {
const self = recipientCache.self;
const others = tenants.filter(t => t.username !== self);
if (!others.length) {
- list.innerHTML = '
';
return;
}
list.innerHTML = others.map(t => `
diff --git a/public/plugins/email/email.html b/public/plugins/email/email.html
index 8d738a6..2db8fd6 100644
--- a/public/plugins/email/email.html
+++ b/public/plugins/email/email.html
@@ -79,7 +79,7 @@
- select a message
+ select a message
diff --git a/public/plugins/email/email.js b/public/plugins/email/email.js
index 5acdaaa..1378d6b 100644
--- a/public/plugins/email/email.js
+++ b/public/plugins/email/email.js
@@ -441,7 +441,7 @@ function gotoNextPage() {
function renderMessageList() {
const list = $('email-list');
if (!currentMessages.length) {
- list.innerHTML = '
no messages
';
+ list.innerHTML = '
no messages
';
renderSelectionBar();
renderSpamToolbar();
return;
diff --git a/public/plugins/gitea/gitea.html b/public/plugins/gitea/gitea.html
index f9c260d..45918df 100644
--- a/public/plugins/gitea/gitea.html
+++ b/public/plugins/gitea/gitea.html
@@ -73,7 +73,7 @@
- select an issue
+ select an issue
diff --git a/public/plugins/slideshow/slideshow.js b/public/plugins/slideshow/slideshow.js
index b4a193a..cbb065d 100644
--- a/public/plugins/slideshow/slideshow.js
+++ b/public/plugins/slideshow/slideshow.js
@@ -640,7 +640,7 @@ async function refreshGalleryPicker() {
if (!images.length) {
gp.grid.innerHTML = `
-
no images yet — upload above
+
no images yet — upload above
`;
return;
}
@@ -705,7 +705,7 @@ function renderPickerList(query) {
picker.list.innerHTML = filtered.map(c => {
const col = c.color ? `background:${c.color};` : '';
return `
`;
- }).join('') || `
no matches
`;
+ }).join('') || `
no matches
`;
}
picker.search?.addEventListener('input', () => renderPickerList(picker.search.value));