v47: Fix d:feeds auto-expand for hidden container
This commit is contained in:
+6
-1
@@ -504,8 +504,13 @@ function initDashboard() {
|
||||
attachDomainHandlers(container);
|
||||
applyTLDFilter();
|
||||
|
||||
// Auto-expand feed details in d:feeds mode
|
||||
// Auto-expand feeds in d:feeds mode
|
||||
if (statusFilter === 'feeds') {
|
||||
// Show the domain-feeds containers
|
||||
container.querySelectorAll('.domain-feeds').forEach(feedsDiv => {
|
||||
feedsDiv.style.display = 'block';
|
||||
});
|
||||
// Also expand feed details
|
||||
container.querySelectorAll('.inline-feed-block').forEach(feedBlock => {
|
||||
const detailDiv = feedBlock.querySelector('.feed-detail');
|
||||
const feedUrl = feedBlock.dataset.url;
|
||||
|
||||
+1
-1
@@ -534,7 +534,7 @@ const dashboardHTML = `<!DOCTYPE html>
|
||||
<div id="output"></div>
|
||||
</div>
|
||||
|
||||
<div style="color: #333; font-size: 11px; margin-top: 10px;">v46</div>
|
||||
<div style="color: #333; font-size: 11px; margin-top: 10px;">v47</div>
|
||||
|
||||
<div class="updated" id="updatedAt">Last updated: {{.UpdatedAt.Format "2006-01-02 15:04:05"}}</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user