From a43963a97a5e0d3b2fc1ecab1afd472e89e50451 Mon Sep 17 00:00:00 2001 From: Rikki Date: Fri, 15 Nov 2024 14:45:26 +0800 Subject: [PATCH] update nav --- public/index.html | 4 +- public/shorten.html | 101 ++++++++++++++++++++++---------------------- 2 files changed, 53 insertions(+), 52 deletions(-) diff --git a/public/index.html b/public/index.html index b7f4f1d..1205a10 100644 --- a/public/index.html +++ b/public/index.html @@ -30,10 +30,10 @@ Shorten diff --git a/public/shorten.html b/public/shorten.html index cffcee2..f851dae 100644 --- a/public/shorten.html +++ b/public/shorten.html @@ -28,10 +28,10 @@ Shorten @@ -111,60 +111,61 @@
URL Shorten
+ - + - + if (response.ok) { + shortenList.removeChild(clone); + } + }); + shortenList.appendChild(clone); + } + }); +