Better handle hiding of about part

This commit is contained in:
Florine W. Dekker 2022-12-14 23:30:35 +01:00
parent 78d95252ed
commit 953acfba92
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
6 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{
"name": "fwdekker/death-notifier",
"description": "Get notified when a famous person dies.",
"version": "0.19.5", "_comment_version": "Also update version in `package.json`!",
"version": "0.19.8", "_comment_version": "Also update version in `package.json`!",
"type": "project",
"license": "MIT",
"homepage": "https://git.fwdekker.com/tools/death-notifier",

BIN
composer.lock generated

Binary file not shown.

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "death-notifier",
"version": "0.19.7", "_comment_version": "Also update version in `composer.json`!",
"version": "0.19.8", "_comment_version": "Also update version in `composer.json`!",
"description": "Get notified when a famous person dies.",
"author": "Florine W. Dekker",
"browser": "dist/bundle.js",

View File

@ -56,7 +56,7 @@
<a href="./">Click here to return to the main page.</a>
</p>
<article id="about-part">
<article id="about-part" class="hidden">
<header>
<hgroup>
<h2>About</h2>

View File

@ -254,7 +254,7 @@ function handleAction(params: URLSearchParams): void {
if (!params_are_valid) {
sharedHomeLink.classList.remove("hidden");
showMessageError(sharedMessageElement, `Invalid URL.`);
showMessageError(sharedMessageElement, "Invalid URL.");
}
}