mirror of
https://github.com/aljazceru/awesome-nostr.git
synced 2025-12-08 22:38:50 +00:00
@@ -200,7 +200,14 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
|
|
||||||
// If everything is working, proceed with main functionality
|
// If everything is working, proceed with main functionality
|
||||||
parseAndDisplayContent()
|
parseAndDisplayContent()
|
||||||
.then(() => console.log('Content successfully parsed and displayed'))
|
.then(() => {
|
||||||
|
console.log("Content successfully parsed and displayed");
|
||||||
|
|
||||||
|
// Show section if page fragment exists
|
||||||
|
if (location.hash) {
|
||||||
|
document.querySelector(`a[href='${location.hash}']`).click();
|
||||||
|
}
|
||||||
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error('Error in main content processing:', error);
|
console.error('Error in main content processing:', error);
|
||||||
document.getElementById('resources-container').innerHTML = `
|
document.getElementById('resources-container').innerHTML = `
|
||||||
|
|||||||
Reference in New Issue
Block a user