From 7bd1cebd32dea14515958ffbf80da271757f7b13 Mon Sep 17 00:00:00 2001 From: Bob Coret Date: Fri, 11 Aug 2023 15:33:29 +0200 Subject: [PATCH] fixed commented } --- web/search.php | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/web/search.php b/web/search.php index 764d96d..67483d3 100644 --- a/web/search.php +++ b/web/search.php @@ -276,15 +276,15 @@ function showDatasets(sparqlresult) { uriCount=0; for (var prop in sparqlresult.results.bindings) { - uriCount++; + uriCount++; dataset = sparqlresult.results.bindings[prop].dataset.value; title = sparqlresult.results.bindings[prop].title.value; publisherName = sparqlresult.results.bindings[prop].publisherName.value; - //if (typeof sparqlresult.results.bindings[prop].rating !== 'undefined') { - // stars = sparqlresult.results.bindings[prop].rating.value; - //} else { - //stars = ''; - //} + //if (typeof sparqlresult.results.bindings[prop].rating !== 'undefined') { + // stars = sparqlresult.results.bindings[prop].rating.value; + //} else { + //stars = ''; + //} var li = document.createElement("li"); li.setAttribute("class", "linkprop"); @@ -312,15 +312,13 @@ function showDatasets(sparqlresult) { ul.appendChild(li); -/* - var starex = document.getElementById("starex"); - if (uriCount==0) { - starex.style.display = "none"; - } else { - starex.style.display = "block"; - } + // var starex = document.getElementById("starex"); + //if (uriCount==0) { + // starex.style.display = "none"; + // } else { + // starex.style.display = "block"; + // } } -*/ } function set_lod_choices() {