cqi package update and changes to match the new functions

This commit is contained in:
Patrick Jentsch
2020-04-07 16:25:44 +02:00
parent 90ef828e61
commit 83a607728d
7 changed files with 265 additions and 161 deletions

View File

@ -381,7 +381,7 @@ class ResultsList extends List {
token = chunk["cpos_lookup"][cpos];
hitCellElement.insertAdjacentHTML("beforeend", `<span class="token" data-cpos="${cpos}">${token["word"]} </span>`);
// get text titles of every hit cpos token
textTitles.add(chunk["text_lookup"][token["text"]]["text_title"]);
textTitles.add(chunk["text_lookup"][token["text"]]["title"]);
// add button to trigger more context to every match td
var inspectBtn = document.createElement("a");
inspectBtn.setAttribute("class", "btn-floating btn-flat waves-effect waves-light grey right inspect disabled");