Commit 712152d2 authored by SeeBenj's avatar SeeBenj

Merge branch 'updateOHURL' into 'develop'

Update Opening Hour url converter merge inot develope'

See merge request !150
parents 7cb73bb3 f92e46c0
Pipeline #76351153 passed with stages
in 11 minutes and 4 seconds
......@@ -876,9 +876,6 @@ function handelShemaOrg(string) {
scriptResponse = '';
}
let result = (`${microResponse} ${rdfaResponse} ${scriptResponse}`).trim();
if (result === '') {
result = 'No valid input';
}
return result.trim();
// return `${string} test`;
}
......@@ -937,11 +934,7 @@ function getSourceAsDom(url) {
} else if (input.match(/[0-9]/g)) {
output = convert(input);
document.getElementById('openingHoursTime').value = output;
} else {
alert('Enter a valid URL');
}
} else {
alert('Enter a valid Input');
}
// return output;
}
......
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