Better handle hiding of about part
This commit is contained in:
parent
78d95252ed
commit
953acfba92
|
@ -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",
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue