Loading portal/search.html +1 −1 Original line number Original line Diff line number Diff line Loading @@ -259,7 +259,7 @@ $(document).ready(function(){ console.log(term); console.log(term); if(term != null) { if(term != null) { console.log("is not null"); console.log("is not null"); var html = `<p><strong><a href="${term.uri}">${term.prefixedIri}</a> (${term.label})</strong><br/> var html = `<p><strong><a href="${term.iri}">${term.prefixedIri}</a> (${term.label})</strong><br/> <em>Defined in <a href="${term.ontologyIri}">${term.ontologyName}</a> as:</em> ${term.comment != null ? term.comment : "<em>(no description)</em>"}</p>`; <em>Defined in <a href="${term.ontologyIri}">${term.ontologyName}</a> as:</em> ${term.comment != null ? term.comment : "<em>(no description)</em>"}</p>`; $(html).appendTo("#results"); $(html).appendTo("#results"); } } Loading Loading
portal/search.html +1 −1 Original line number Original line Diff line number Diff line Loading @@ -259,7 +259,7 @@ $(document).ready(function(){ console.log(term); console.log(term); if(term != null) { if(term != null) { console.log("is not null"); console.log("is not null"); var html = `<p><strong><a href="${term.uri}">${term.prefixedIri}</a> (${term.label})</strong><br/> var html = `<p><strong><a href="${term.iri}">${term.prefixedIri}</a> (${term.label})</strong><br/> <em>Defined in <a href="${term.ontologyIri}">${term.ontologyName}</a> as:</em> ${term.comment != null ? term.comment : "<em>(no description)</em>"}</p>`; <em>Defined in <a href="${term.ontologyIri}">${term.ontologyName}</a> as:</em> ${term.comment != null ? term.comment : "<em>(no description)</em>"}</p>`; $(html).appendTo("#results"); $(html).appendTo("#results"); } } Loading