Commit cf84d63d authored by Seemann Benjamin's avatar Seemann Benjamin

Negative test

parent fd71f642
Pipeline #76362749 passed with stages
in 4 minutes and 49 seconds
......@@ -926,7 +926,6 @@ function getSourceAsDom(url) {
const fetched = getSourceAsDom(input);
fetched.then((result) =>{
// console.log(result); string is here
output = handelShemaOrg(result);
});
......@@ -934,14 +933,7 @@ function getSourceAsDom(url) {
output = convert(input);
}
}
if (output === 'No valid input') {
output = '';
if (output !== 'No valid input') {
document.getElementById('openingHoursTime').value = output;
}
document.getElementById('openingHoursTime').value = output;
// return output;
}
/*
onmessage = (event) => {
isURL(event.data);
};
*/
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