Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development

This commit is contained in:
Patrick Jentsch 2020-03-12 16:06:12 +01:00
commit 55b8fe54a8

View File

@ -330,6 +330,10 @@
// event triggered on context select change and also if pagination is clicked // event triggered on context select change and also if pagination is clicked
function changeContext(event) { function changeContext(event) {
// newValue = event.target.value; // cannot use this anymore due to reuse of this function in the above paginationElements eventListener // 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"); var contextPerItemElement = document.getElementById("context");
newValue = contextPerItemElement.value; newValue = contextPerItemElement.value;
console.log(newValue); console.log(newValue);