fix: Tooltip style applies on new paste

This commit is contained in:
ThatOneCalculator 2022-03-22 12:20:25 -07:00
parent 918068f0be
commit 8621c29c9d
1 changed files with 3 additions and 1 deletions

View File

@ -37,10 +37,12 @@ githubButton.innerHTML += renderIconDefinitionToSVGElement(GithubOutlined, {
})
function makeTooltips() {
let theme = "rosepine-extended"
let theme = ""
if (window.location.pathname == "/") {
theme = "rosepine"
} else {
theme = "rosepine-extended"
}
tippy("#save-button", {