v51: remove debug logging
This commit is contained in:
@@ -22,15 +22,11 @@ function initDashboard() {
|
||||
document.addEventListener('click', (e) => {
|
||||
const spacer = e.target.closest('.domain-spacer');
|
||||
if (spacer) {
|
||||
console.log('Spacer clicked:', spacer);
|
||||
const block = spacer.closest('.domain-block');
|
||||
console.log('Block found:', block);
|
||||
if (block) {
|
||||
const feedsDiv = block.querySelector('.domain-feeds');
|
||||
console.log('FeedsDiv found:', feedsDiv);
|
||||
if (feedsDiv) {
|
||||
const isVisible = feedsDiv.style.display !== 'none';
|
||||
console.log('isVisible:', isVisible, '-> toggling to:', !isVisible);
|
||||
feedsDiv.style.display = isVisible ? 'none' : 'block';
|
||||
}
|
||||
}
|
||||
|
||||
+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;">v50</div>
|
||||
<div style="color: #333; font-size: 11px; margin-top: 10px;">v51</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