fix: add tooltip to source dot in batch history

This commit is contained in:
JohnBaumb 2026-04-23 11:35:33 -07:00
parent 5706f32ba2
commit 6a2b8513d4

View file

@ -2876,8 +2876,10 @@ function _adlRenderBatchHistory() {
// Optional thumbnail // Optional thumbnail
const thumb = h.thumb_url const thumb = h.thumb_url
? `<img src="${_adlEsc(h.thumb_url)}" class="adl-batch-history-thumb" loading="lazy">` ? `<img src="${_adlEsc(h.thumb_url)}" class="adl-batch-history-thumb" loading="lazy">`
: ''; : '';Source = h.source || h.source_page || '';
const dotColor = sourceColors[dotSource] || '255, 255, 255';
const dotTip = dotSource ? `Source: ${dotSource}` : 'Unknown source';
const histDot = `<span class="adl-batch-history-dot" style="background:rgba(${dotColor}, 0.6)" title="${dotTip}
// Server push status indicator // Server push status indicator
let pushBadge = ''; let pushBadge = '';
if (h.server_push_status) { if (h.server_push_status) {