Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
kisahklasik authored Aug 9, 2024
1 parent 8a7e29e commit a038e64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ <h1>Tutorial:</h1>
function checkInput() {
var input = document.getElementById('uploader').value;
var button = document.getElementById('save');
var share = document.getElementById('shared');
button.disabled = input === '';
share.disabled = input === '';
}
</script>
</body>
Expand Down

0 comments on commit a038e64

Please sign in to comment.