mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-24 04:54:51 -04:00
Suppress error messages when loading archive.
This commit is contained in:
parent
7b78018464
commit
c592027d1d
@ -106,10 +106,10 @@ define(function(require) {
|
||||
index + 1);
|
||||
}, function(error) {
|
||||
// TODO there must be a better to way to detect a FileNotFound
|
||||
if (error != "NotFoundError") {
|
||||
alert("Error reading data file " + index + " in directory "
|
||||
+ directory + " : " + error);
|
||||
}
|
||||
// if (error != "NotFoundError") {
|
||||
// alert("Error reading data file " + index + " in directory "
|
||||
// + directory + " : " + error);
|
||||
// }
|
||||
});
|
||||
};
|
||||
|
||||
@ -137,10 +137,10 @@ define(function(require) {
|
||||
index + 1);
|
||||
}, function(error) {
|
||||
// TODO there must be a better to way to detect a FileNotFound
|
||||
if (error != "NotFoundError") {
|
||||
alert("Error reading coordinates file " + index + " in directory "
|
||||
+ directory + " : " + error);
|
||||
}
|
||||
// if (error != "NotFoundError") {
|
||||
// alert("Error reading coordinates file " + index + " in directory "
|
||||
// + directory + " : " + error);
|
||||
// }
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user