We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1dca59 commit 3b2c58aCopy full SHA for 3b2c58a
src/tpl/frontend/index.js
@@ -531,7 +531,7 @@
531
increaseCb();
532
typeof console !== strUndef && console.error(err);
533
});
534
- } else {
+ } else if (entry.isDirectory) {
535
var reader = entry.createReader();
536
reader.readEntries(function (subEntries) {
537
if (subEntries.length) {
@@ -566,7 +566,7 @@
566
// so workaround is for all browsers, just get first hierarchy of files by item.getAsFile()
567
var file = item.getAsFile();
568
files.push({file: file, relativePath: file.name});
569
570
entries.push(entry);
571
}
572
0 commit comments