Finished path search & autocomplete. Added font parsing

This commit is contained in:
simon987
2018-04-16 17:25:34 -04:00
parent b454653d51
commit 6d3cceb1b1
15 changed files with 124 additions and 41 deletions

View File

@@ -563,9 +563,17 @@
docCard.appendChild(contentDiv);
}
//Font_name
if (hit.hasOwnProperty("highlight") && hit["highlight"].hasOwnProperty("font_name")) {
let contentDiv = document.createElement("div");
contentDiv.setAttribute("class", "content-div bg-light");
contentDiv.insertAdjacentHTML('afterbegin', hit["highlight"]["font_name"][0]);
docCard.appendChild(contentDiv);
}
//Audio
if (mimeCategory === "audio") {
//TODO
}
if (thumbnail !== null) {