mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Add context change toast.
This commit is contained in:
parent
6bdc0b354b
commit
5b9c1c3adf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user