Skip to content

Commit

Permalink
Shorten file too large message
Browse files Browse the repository at this point in the history
  • Loading branch information
HACKERALERT authored Oct 6, 2024
1 parent 8232e14 commit 42832a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
document.getElementById("fin").onchange = function(){
if(this.files.length>0){
if (this.files[0].size > 1073741824) { // 1 GiB
document.getElementById("status").innerHTML = "File too large! Only files up to 1 GiB are supported.";
document.getElementById("status").innerHTML = "File must be less than 1 GiB!";
document.getElementById("status").style.color = "#db2828";
setTimeout(() => {
window.location.reload();
Expand Down

0 comments on commit 42832a6

Please sign in to comment.