diff --git a/app/templates/corpora/analyse_corpus.html.j2 b/app/templates/corpora/analyse_corpus.html.j2 index 37b6981891b4bda168768ef773fac89c3ef54055..e87735cc297f122db0b0026e9f56854b55dc9abf 100644 --- a/app/templates/corpora/analyse_corpus.html.j2 +++ b/app/templates/corpora/analyse_corpus.html.j2 @@ -330,6 +330,10 @@ // event triggered on context select change and also if pagination is clicked function changeContext(event) { // newValue = event.target.value; // cannot use this anymore due to reuse of this function in the above paginationElements eventListener + console.log(event); + if (event.type === "change") { + nopaque.toast("Updated context per match!"); + } var contextPerItemElement = document.getElementById("context"); newValue = contextPerItemElement.value; console.log(newValue);