summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/index.js b/js/index.js
index 7041943..fd94eac 100644
--- a/js/index.js
+++ b/js/index.js
@@ -115,7 +115,7 @@ function download_pdf(link, id){
console.log('Pfad: ' + sPath);
- if(fileEntry.file.size == 0){
+ if(fileEntry.file.size != 0){ // TODO file.size gibt undefined: file ist eine Funktion!!!
var fileTransfer = new FileTransfer();
fileTransfer.download(