summaryrefslogtreecommitdiff
path: root/frontend/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/script.js')
-rw-r--r--frontend/script.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/script.js b/frontend/script.js
index 6f4775e..20f5b08 100644
--- a/frontend/script.js
+++ b/frontend/script.js
@@ -9,7 +9,8 @@ function populateSearchBar(docset_json) {
// Add to docset-table
document.getElementById("docset-table").getElementsByTagName("tbody")[0].innerHTML += "<tr>" +
"<td scope=\"row\">" +
- "<button id=\"docset-" + docset_json["CFBundleIdentifier"] + "-parent\" class=\"docset-parent\" onclick=\"set_embed_page('" + docset_json["docset_root"] + "')\">" +
+ "<button id=\"docset-" + docset_json["CFBundleIdentifier"] + "-parent\" class=\"docset-parent\" onclick=\"set_embed_page('" + docset_json["docset_index"] + "')\">" +
+ "<img class=\"docset-icon\" src=\"" + docset_json["icon.png"] + "\"/>" +
docset_json["CFBundleName"] +
"</button>" +
"</td>" +