diff --git a/src/js/test/test-logic.js b/src/js/test/test-logic.js index 82401412e..1dfac1269 100644 --- a/src/js/test/test-logic.js +++ b/src/js/test/test-logic.js @@ -439,7 +439,7 @@ export async function init() { } } - if (Funbox.active === "rAnDoMcAsE") { + if (Funbox.funboxSaved === "rAnDoMcAsE") { let randomcaseword = ""; for (let i = 0; i < randomWord.length; i++) { if (i % 2 != 0) { @@ -449,17 +449,17 @@ export async function init() { } } randomWord = randomcaseword; - } else if (Funbox.active === "gibberish") { + } else if (Funbox.funboxSaved === "gibberish") { randomWord = Misc.getGibberish(); - } else if (Funbox.active === "58008") { + } else if (Funbox.funboxSaved === "58008") { UpdateConfig.setPunctuation(false, true); UpdateConfig.setNumbers(false, true); randomWord = Misc.getNumbers(7); - } else if (Funbox.active === "specials") { + } else if (Funbox.funboxSaved === "specials") { UpdateConfig.setPunctuation(false, true); UpdateConfig.setNumbers(false, true); randomWord = Misc.getSpecials(); - } else if (Funbox.active === "ascii") { + } else if (Funbox.funboxSaved === "ascii") { UpdateConfig.setPunctuation(false, true); UpdateConfig.setNumbers(false, true); randomWord = Misc.getASCII(); diff --git a/src/sass/style.scss b/src/sass/style.scss index d5f51d15a..ac0c0d60a 100644 --- a/src/sass/style.scss +++ b/src/sass/style.scss @@ -11,6 +11,8 @@ :root { --roundness: 0.25rem; --font: "Roboto Mono"; + scroll-behavior: smooth; + scroll-padding-top: 2rem; } ::placeholder { diff --git a/static/quotes/english.json b/static/quotes/english.json index bdc211d9d..65c0fcc86 100644 --- a/static/quotes/english.json +++ b/static/quotes/english.json @@ -32604,7 +32604,7 @@ "id": 5484 }, { - "text": "My father picked me up from school one day and we played hookey and went to the beach. It was too cold to go in the water so we sat on a blanket and ate pizza. When I got home my sneakers were full of sand and I dumped it on my bedroom floor. I didn't know the difference, I was six. My mother screamed at me for the mess but he wasn't mad. He said that billions of years ago the world 's shifting and ocean moving brought that sand to that spot on the beach and then I took it away. Every day he said we change the world. Which is a nice thought until I think about how many days and lifetimes I would need to bring a shoe full of sand home until there is no beach. Until it made a difference to anyone. Every day we change the world. But to change the world in a way that means anything that takes more time than most people have. it never happens all at once. Its slow. Its methodical. Its exhausting. We don't all have the stomach for it.", + "text": "My father picked me up from school one day and we played hookey and went to the beach. It was too cold to go in the water so we sat on a blanket and ate pizza. When I got home my sneakers were full of sand and I dumped it on my bedroom floor. I didn't know the difference, I was six. My mother screamed at me for the mess but he wasn't mad. He said that billions of years ago the world's shifting and ocean moving brought that sand to that spot on the beach and then I took it away. Every day he said we change the world. Which is a nice thought until I think about how many days and lifetimes I would need to bring a shoe full of sand home until there is no beach. Until it made a difference to anyone. Every day we change the world. But to change the world in a way that means anything that takes more time than most people have. It never happens all at once. It's slow. It's methodical. It's exhausting. We don't all have the stomach for it.", "source": "Mr. Robot", "length": 942, "id": 5485