mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
Fix loading on local filesystem.
This commit is contained in:
@@ -159,7 +159,7 @@ function BrowserRuntime(logoutput) {
|
||||
}
|
||||
try {
|
||||
xmlHttp.send(null);
|
||||
if (xmlHttp.status === 200) {
|
||||
if (xmlHttp.status === 200 || xmlHttp.status === 0) {
|
||||
result = xmlHttp.responseText;
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user