Skip to content
Snippets Groups Projects
Commit 65b59be8 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

Merge branch 'fix-issues' into 'master'

Fix #41



See merge request !230
parents ef285694 85810282
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,11 @@ ...@@ -92,6 +92,11 @@
color: #64BEF5; color: #64BEF5;
} }
.drop-zone > #selectFiles:hover {
cursor: pointer;
color: #A5DEF5;
}
.drop-zone { .drop-zone {
text-align: center; text-align: center;
border: 2px dashed #2178f5; border: 2px dashed #2178f5;
...@@ -179,6 +184,7 @@ ...@@ -179,6 +184,7 @@
draggable = $('#dragHere'), draggable = $('#dragHere'),
uploadFile = $('#uploadFiles'), uploadFile = $('#uploadFiles'),
browseButton = $('#browseButton'), browseButton = $('#browseButton'),
selectFiles = $('#selectFiles'),
nothingToUpload = $('[data-nothingToUpload]'); nothingToUpload = $('[data-nothingToUpload]');
var show_success_message = function (message) { var show_success_message = function (message) {
...@@ -191,6 +197,7 @@ ...@@ -191,6 +197,7 @@
if (!r.support) location.href = 'http://browsehappy.com/'; if (!r.support) location.href = 'http://browsehappy.com/';
r.assignBrowse(browseButton); r.assignBrowse(browseButton);
r.assignBrowse(selectFiles);
r.assignDrop(draggable); r.assignDrop(draggable);
r.on('fileAdded', function (file, event) { r.on('fileAdded', function (file, event) {
...@@ -250,4 +257,4 @@ ...@@ -250,4 +257,4 @@
}); });
})(); })();
</script> </script>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment