mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-16 16:00:35 -04:00
Cleanup
Former-commit-id: bf129347ae2055c53932b390a1e5e19e08988cf3 [formerly 0fb9bd381108a4e5e266a993430ca24b3c6dfb60] Former-commit-id: 95e81ec8192aff9867e463dd2990230df7170d6d
This commit is contained in:
parent
7fc3fc806b
commit
ed03ba15ed
@ -521,10 +521,10 @@ define(['zimfile', 'zimDirEntry', 'transformZimit', 'util', 'utf8'],
|
||||
else
|
||||
return 0;
|
||||
});
|
||||
}).then(function(index) {
|
||||
}).then(function (index) {
|
||||
if (index === null) return null;
|
||||
return that._file.dirEntryByUrlIndex(index);
|
||||
}).then(function(dirEntry) {
|
||||
}).then(function (dirEntry) {
|
||||
// Filter Zimit dirEntries and do somee initial transforms
|
||||
if (that._file.type === 'zimit')
|
||||
dirEntry = transformZimit.filterReplayFiles(dirEntry);
|
||||
|
Loading…
x
Reference in New Issue
Block a user