diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-29 09:32:11 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-07-07 13:56:49 +0200 |
commit | 28a869799594b36f1b12ef67e08fae085f9bc0d7 (patch) | |
tree | 1dd10173959e68fdf5a3e68e28f801ae0fe63dd4 | |
parent | 16c29021e6e4c2d879cd9d5d5d9b8f3feec61861 (diff) | |
download | nextcloud-server-28a869799594b36f1b12ef67e08fae085f9bc0d7.tar.gz nextcloud-server-28a869799594b36f1b12ef67e08fae085f9bc0d7.zip |
Reduce timeout for download spinner to 2 seconds
-rw-r--r-- | apps/files/js/fileactions.js | 2 | ||||
-rw-r--r-- | apps/files/js/filelist.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index ec47534de21..bf529aeb3e8 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -495,7 +495,7 @@ setTimeout(function(){ icon.attr('src', sourceImage); downloadFileaction.removeClass('disabled'); - }, 7000); + }, 2000); if (url) { OC.redirect(url); diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 807d1a16891..60fcd865880 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -435,7 +435,7 @@ setTimeout(function(){ icon.attr('src', sourceImage); downloadFileaction.removeClass('disabled'); - }, 7000); + }, 2000); OC.redirect(this.getDownloadUrl(files, dir)); return false; |