Parcourir la source

Added pass through handler on download button.

This fixes #7
dom111 il y a 6 ans
Parent
commit
e3bcdec526
2 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 0 0
      src/webdav-min.js
  2. 6 0
      src/webdav.js

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
src/webdav-min.js


+ 6 - 0
src/webdav.js

@@ -140,6 +140,12 @@
 
                     return false;
                 });
+
+                file.item.find('.download').on('click', function(event) {
+                    event.stopPropagation();
+
+                    return true;
+                });
             }
 
             file.item.on('click', function() {

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff