Commit 19e61019 authored by SeeBenj's avatar SeeBenj

Merge branch 'updateOHURL' into 'develop'

Update Opening Hours Converter

See merge request !152
parents 8f9e01d7 cf84d63d
Pipeline #76364532 passed with stages
in 13 minutes and 9 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