Skip to content

Commit

Permalink
fixed commented }
Browse files Browse the repository at this point in the history
  • Loading branch information
coret committed Aug 11, 2023
1 parent 97b1dcf commit 7bd1ceb
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions web/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 7bd1ceb

Please sign in to comment.