web: fix eslint errors

This commit is contained in:
Peter Keresztes Schmidt 2021-04-24 01:40:52 +02:00
parent d1687df6af
commit 1dbfa0790a
2 changed files with 3 additions and 4 deletions

View File

@ -148,7 +148,6 @@ function dataOnClick() {
window[fnName](ev);
};
});
}
// 'data-on-click-true' calls the global function in the attribute value with no arguments when a click happens.

View File

@ -620,8 +620,8 @@ function getControlResponse(respObj, respText) {
function controlCmd(event) {
button = event.target;
console.log(event);
if (event.type !='mouseup') {
console.log(event);
if (event.type !='mouseup') {
control = button.getAttribute('value');
} else {
console.log('stop');