mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-14 15:49:04 +00:00
Finished path search & autocomplete. Added font parsing
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user