mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-22 12:01: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>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
<title>dummy Article</title>
|
<title>dummy Article</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -214,7 +214,9 @@ define(['normalize_string', 'geometry', 'title', 'util', 'titleIterators', 'q'],
|
|||||||
else {
|
else {
|
||||||
currentLocalArchiveInstance._normalizedTitles = true;
|
currentLocalArchiveInstance._normalizedTitles = true;
|
||||||
}
|
}
|
||||||
callback(currentLocalArchiveInstance);
|
if (callback) {
|
||||||
|
callback(currentLocalArchiveInstance);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
reader.readAsText(file);
|
reader.readAsText(file);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user