]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - lib/functions.js.php
Translated using Weblate (Croatian)
[jirafeau_mojo42.git] / lib / functions.js.php
index 1527d0159d14a4f50dfbdf8b8b460a6a4a0f6d80..ebf8531ac414aeb26655f1ab68ed1efdab4d88ae 100644 (file)
@@ -577,8 +577,7 @@ function upload (max_size)
 {
     var one_time_checkbox = document.getElementById('one_time_download');
     var one_time = one_time_checkbox !== null ? one_time_checkbox.checked : false;
-    if (check_html5_file_api ()
-        && document.getElementById('file_select').files[0].size >= max_size)
+    if (check_html5_file_api ())
     {
         async_upload_start (
             max_size,

patrick-canterino.de