Skip to content

Commit

Permalink
fix: tab titles can be nothing, making tabs unclickable
Browse files Browse the repository at this point in the history
  • Loading branch information
VillainsRule authored Jan 18, 2025
1 parent eeb0c02 commit b9ea9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/assets/js/t.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ document.addEventListener("DOMContentLoaded", event => {
newIframe.addEventListener("load", () => {
const title = newIframe.contentDocument.title;
if (title.length <= 1) {
tabTitle.textContent = "";
tabTitle.textContent = "Tab";
} else {
tabTitle.textContent = title;
}
Expand Down

0 comments on commit b9ea9ac

Please sign in to comment.