aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/components
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-17 19:47:48 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-17 19:47:48 -0800
commitd7c1cc00abe7c8097625ee905a1285aa0794a598 (patch)
tree114ae9f7f09222f6881787360ffaa1385a69f834 /frontend-vanilla/src/components
parent5c5f440085255bf7f11af589faa4fa14d74f9294 (diff)
downloadneko-d7c1cc00abe7c8097625ee905a1285aa0794a598.tar.gz
neko-d7c1cc00abe7c8097625ee905a1285aa0794a598.tar.bz2
neko-d7c1cc00abe7c8097625ee905a1285aa0794a598.zip
Remove visual 'selected' state highlight from feed items
Diffstat (limited to 'frontend-vanilla/src/components')
-rw-r--r--frontend-vanilla/src/components/FeedItem.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend-vanilla/src/components/FeedItem.ts b/frontend-vanilla/src/components/FeedItem.ts
index 212e9dd..e58aac8 100644
--- a/frontend-vanilla/src/components/FeedItem.ts
+++ b/frontend-vanilla/src/components/FeedItem.ts
@@ -1,9 +1,9 @@
import type { Item } from '../types';
-export function createFeedItem(item: Item, isSelected: boolean = false): string {
+export function createFeedItem(item: Item): string {
const date = new Date(item.publish_date).toLocaleDateString();
return `
- <li class="feed-item ${item.read ? 'read' : 'unread'} ${isSelected ? 'selected' : ''}" data-id="${item._id}">
+ <li class="feed-item ${item.read ? 'read' : 'unread'}" data-id="${item._id}">
<div class="item-header">
<a href="${item.url}" target="_blank" rel="noopener noreferrer" class="item-title" data-action="open">
${item.title || '(No Title)'}