From a73be33117d61e97ce52946909a4915578bca124 Mon Sep 17 00:00:00 2001 From: Zane <90309290+Zingzy@users.noreply.github.com> Date: Sun, 21 Jan 2024 15:01:22 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=BC=20Fixed=20minor=20bug=20in=20the?= =?UTF-8?q?=20landing=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- templates/index.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cbab58..64b0ae6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ - + diff --git a/templates/index.html b/templates/index.html index 17b17c0..a1da14c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -293,11 +293,14 @@ case 'gif': outputArea.innerHTML += `
`; commandInput.scrollIntoView(); + commandInput.disabled = true; fetch(`{{ base_url }}raw_${command}`) .then(response => response.blob()) .then(blob => { const url = URL.createObjectURL(blob); displayImage(url); + commandInput.disabled = false; + commandInput.focus(); }) .catch(error => appendOutput(`Error: ${error.message}`)); break;
Please Reload
⬆️ random gif using our api 😉