Skip to content

Commit

Permalink
Merge pull request #214 from InterstellarNetwork/juniorbutyeah-patch-1
Browse files Browse the repository at this point in the history
uncomment tab name
  • Loading branch information
xbubbo authored Sep 16, 2023
2 parents baffad7 + 8eb32bd commit 3cd14d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions static/scripts/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ document.addEventListener("DOMContentLoaded", function(event) {
newIframe.classList.add('active');
iframeContainer.appendChild(newIframe);

// updates the iframe to the title of the page, but dynamic doesn't have a title specific to the page so it's commented out
// newIframe.addEventListener('load', () => {
// const title = newIframe.contentDocument.title;
// tabTitle.textContent = title;
// });
// svery epic
newIframe.addEventListener('load', () => {
const title = newIframe.contentDocument.title;
tabTitle.textContent = title;
});

tabCounter++;
});
Expand Down Expand Up @@ -195,4 +195,4 @@ document.addEventListener("DOMContentLoaded", function(event) {
});

});


0 comments on commit 3cd14d2

Please sign in to comment.