fixed about page links. closes #763

This commit is contained in:
Jack 2020-12-28 23:01:43 +00:00
parent 6ab04105cb
commit a989f502ef
3 changed files with 18 additions and 11 deletions

View file

@ -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();
});

View file

@ -28,6 +28,10 @@ html {
scrollbar-color: var(--sub-color) transparent;
}
a {
display: inline-block;
}
input {
outline: none;
border: none;

View file

@ -1451,27 +1451,25 @@
<h1>bug report or feature request</h1>
<p>
If you encounter a bug, or have a feature request - join the
<a href="https://discord.gg/yENzqcB" target="_blank">
Discord server
</a>
, send me a message on Reddit or create an issue on
<a href="https://discord.gg/yENzqcB" target="_blank">Discord</a>
server, send me a message on Reddit or create an issue on
<a href="https://github.com/Miodec/monkeytype" target="_blank">
GitHub
GitHub.
</a>
.
</p>
</div>
<div class="section">
<h1>support</h1>
<p>
If you wish to support this project, help pay for hosting and
fuel my caffeine addiction, you can join the
<a href="https://www.patreon.com/monkeytype">Patreon</a>
, donate via
fuel my caffeine addiction, you can
<a class="aboutEnableAds">enable ads,</a>
join the
<a href="https://www.patreon.com/monkeytype">Patreon,</a>
donate via
<a href="https://www.paypal.me/jackbartnik">PayPal</a>
or buy a
<a href="https://monkeytype.store">tshirt</a>
.
<a href="https://monkeytype.store">tshirt.</a>
</p>
</div>
<div class="section">