Skip to content

Commit

Permalink
Fix original title element not having hover text on homepage
Browse files Browse the repository at this point in the history
Fix #102
  • Loading branch information
ajayyy committed Jul 15, 2023
1 parent e65311d commit d050670
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/titles/titleRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ function showOriginalTitle(element: HTMLElement, brandingLocation: BrandingLocat
setPageTitle(originalTitleElement.textContent ?? "");
break;
}
default: {
originalTitleElement.title = originalTitleElement.textContent ?? "";
break;
}
}
}

Expand Down

0 comments on commit d050670

Please sign in to comment.