Add context change toast.

This commit is contained in:
stephan 2020-03-12 15:09:27 +01:00
parent 6bdc0b354b
commit 5b9c1c3adf

View File

@ -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);