web: fix eslint errors
This commit is contained in:
parent
d1687df6af
commit
1dbfa0790a
|
@ -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.
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue