Commit b84069c4 authored by Romain Courteaud's avatar Romain Courteaud

Typo

parent e37a7e68
...@@ -424,7 +424,10 @@ ...@@ -424,7 +424,10 @@
settings.interface_list.push($(link).attr('href')); settings.interface_list.push($(link).attr('href'));
}); });
settings.html = parsed_xml.find('html > body').first().html() || ""; settings.html = parsed_xml.find('html > body').first().html();
if (settings.html === undefined) {
settings.html = "";
}
result = settings; result = settings;
} else { } else {
throw new Error(html + " is not a string"); throw new Error(html + " is not a string");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment