Skip to content

Commit

Permalink
Update amt.js
Browse files Browse the repository at this point in the history
  • Loading branch information
florianthiery committed Aug 8, 2024
1 parent f6a9d59 commit 4ac28a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/js/amt.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ var AMT = function () {
Accept: "application/json",
},
success: function (data) {
console.log(data);
var bindings = data.results.bindings;
for (var i in bindings) {
for (var j in bindings[i]) {
if (bindings[i][j].value) bindings[i][j] = bindings[i][j].value;
}
}
callback(bindings);
console.log(bindings);
},
error: function (data) {
console.log("Es ist ein Fehler aufgetreten: " + data);
Expand Down

0 comments on commit 4ac28a1

Please sign in to comment.