mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-20 10:17:15 -04:00
Minor fixes to avoid warnings in the browser
This commit is contained in:
parent
7bb77c8e36
commit
8a0748597a
@ -6,6 +6,7 @@ and open the template in the editor.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>dummy Article</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -214,7 +214,9 @@ define(['normalize_string', 'geometry', 'title', 'util', 'titleIterators', 'q'],
|
||||
else {
|
||||
currentLocalArchiveInstance._normalizedTitles = true;
|
||||
}
|
||||
callback(currentLocalArchiveInstance);
|
||||
if (callback) {
|
||||
callback(currentLocalArchiveInstance);
|
||||
}
|
||||
};
|
||||
reader.readAsText(file);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user