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 😉