From a989f502eff94acb09f275f9b109924e3b528a17 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 28 Dec 2020 23:01:43 +0000 Subject: [PATCH] fixed about page links. closes #763 --- src/js/script.js | 5 +++++ src/sass/style.scss | 4 ++++ static/index.html | 20 +++++++++----------- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/js/script.js b/src/js/script.js index 1eac9f351..24a6857bd 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -4441,6 +4441,11 @@ $(document.body).on("click", "#supportMeWrapper a.button", () => { }); }); +$(document.body).on("click", ".pageAbout .aboutEnableAds", () => { + currentCommands.push(commandsEnableAds); + showCommandLine(); +}); + $("#wordsInput").keypress((event) => { event.preventDefault(); }); diff --git a/src/sass/style.scss b/src/sass/style.scss index 46f02988a..231df62ac 100644 --- a/src/sass/style.scss +++ b/src/sass/style.scss @@ -28,6 +28,10 @@ html { scrollbar-color: var(--sub-color) transparent; } +a { + display: inline-block; +} + input { outline: none; border: none; diff --git a/static/index.html b/static/index.html index 09ebf7030..c2928159d 100644 --- a/static/index.html +++ b/static/index.html @@ -1451,27 +1451,25 @@

bug report or feature request

If you encounter a bug, or have a feature request - join the - - Discord server - - , send me a message on Reddit or create an issue on + Discord + server, send me a message on Reddit or create an issue on - GitHub + GitHub. - .

support

If you wish to support this project, help pay for hosting and - fuel my caffeine addiction, you can join the - Patreon - , donate via + fuel my caffeine addiction, you can + enable ads, + join the + Patreon, + donate via PayPal or buy a - tshirt - . + tshirt.