aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
diff options
context:
space:
mode:
authorfschneider <florian.schneider@student.tugraz.at>2015-08-06 14:40:23 +0200
committerfschneider <florian.schneider@student.tugraz.at>2015-08-06 14:40:23 +0200
commit0cfb3fe13a2a5280112bf942b4e0b12e5abee1c9 (patch)
tree83ac99c3b55e751fc03cad948b18990ae79e264d /pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
parent1e4a0af51ff6b90cca57791b698433d36febb2a5 (diff)
downloadpdf-as-4-0cfb3fe13a2a5280112bf942b4e0b12e5abee1c9.tar.gz
pdf-as-4-0cfb3fe13a2a5280112bf942b4e0b12e5abee1c9.tar.bz2
pdf-as-4-0cfb3fe13a2a5280112bf942b4e0b12e5abee1c9.zip
Preparing for Bootstrap
Diffstat (limited to 'pdf-as-web/src/main/webapp/assets/js/dragNdrop.js')
-rw-r--r--pdf-as-web/src/main/webapp/assets/js/dragNdrop.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
index c3f340d6..4b605d76 100644
--- a/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
+++ b/pdf-as-web/src/main/webapp/assets/js/dragNdrop.js
@@ -50,11 +50,11 @@ function registerEventListeners() {
if(files == null || files.length === 0) {
return;
}
- else if(files[0].name.indexOf(".pdf") < 0)
+ /* else if(files[0].name.indexOf(".pdf") < 0)
{
window.alert("The file type must be PDF");
return;
- }
+ } */ // the pdf viewer will handle this
file = files[0];
previewFile();