wow! epic fail
This commit is contained in:
parent
b323a78e38
commit
cae18e8414
@ -2,7 +2,7 @@
|
||||
<div id="popup">
|
||||
<h1>um</h1>
|
||||
<div>
|
||||
heonian: <span id="popup-heo"></span><br>
|
||||
<span id="popup-e">heonian: </span><span id="popup-heo"></span><br>
|
||||
type: <span id="popup-type"></span><br>
|
||||
quirks: <span id="popup-quirks"></span>
|
||||
</div>
|
||||
|
5
main.js
5
main.js
@ -36,12 +36,12 @@ function showPopup(ogword, word, quirks = "") {
|
||||
p.querySelector("h1").innerText = words[word]["romanizationProper"];
|
||||
p.querySelector("#popup-heo").innerText = words[word]["heonian"];
|
||||
p.querySelector("h1").style.fontFamily = "var(--font-normal)";
|
||||
p.querySelector("#popup-heo").style.fontFamily = "var(--font-heonian)";
|
||||
p.querySelector("#popup-e").innerText = "heonian: ";
|
||||
} else {
|
||||
p.querySelector("h1").innerText = words[word]["heonian"];
|
||||
p.querySelector("#popup-heo").innerText = words[word]["romanizationProper"];
|
||||
p.querySelector("h1").style.fontFamily = "var(--font-heonian)";
|
||||
p.querySelector("#popup-heo").style.fontFamily = "var(--font-normal)";
|
||||
p.querySelector("#popup-e").innerText = "romanization: ";
|
||||
}
|
||||
p.querySelector("#popup-type").innerText = words[word]["type"];
|
||||
p.querySelector("#popup-meaning").innerText = words[word]["meaning"];
|
||||
@ -77,7 +77,6 @@ function showSmolPopup(ogword, word, self, quirks) {
|
||||
p.querySelector("#smol-type").innerText = words[word]["type"];
|
||||
p.querySelector("#smol-meaning").innerText = words[word]["meaning"];
|
||||
let wq = "";
|
||||
console.log(quirks);
|
||||
if (quirks.trim() != "") {
|
||||
wq = quirks.split(" ").join(", ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user