From ec440f5e67ea995b8c13483a66834c80f3880980 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 19 2015 10:52:27 +0000 Subject: Make the progress white earlier as 10% is already a while --- diff --git a/progit/static/upload.js b/progit/static/upload.js index 6648d4f..2c53267 100644 --- a/progit/static/upload.js +++ b/progit/static/upload.js @@ -38,7 +38,7 @@ function doUpload(csrf_token, files) { } // Set the progress bar. - if (percent > 10){ + if (percent > 2){ $progressBar.css({"color": "white"}); } $progressBar.css({"width": percent + "%"});