Skip to content
Snippets Groups Projects
Commit 5b9c1c3a authored by Stephan Porada's avatar Stephan Porada :speech_balloon:
Browse files

Add context change toast.

parent 6bdc0b35
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment