Browse Source

💚 eslint --fix

pull/155/head
Ivan Yelizariev 5 years ago
committed by Vincent Van Rossem
parent
commit
5472cca160
  1. 13
      pos_keyboard/static/src/js/pos.js

13
pos_keyboard/static/src/js/pos.js

@ -92,14 +92,11 @@ odoo.define('pos_keyboard.pos', function (require) {
var type = this.pos.keypad.type;
if (data.type === type.numchar){
this.state.appendNewChar(data.val);
}
else if (data.type === type.bmode) {
} else if (data.type === type.bmode) {
this.state.changeMode(data.val);
}
else if (data.type === type.sign){
} else if (data.type === type.sign){
this.clickSwitchSign();
}
else if (data.type === type.backspace){
} else if (data.type === type.backspace){
this.clickDeleteLastChar();
}
}
@ -259,7 +256,9 @@ odoo.define('pos_keyboard.pos', function (require) {
timeStamp = new Date().getTime();
setTimeout(function(){
if (ok) {self.action_callback(self.data);}
if (ok) {
self.action_callback(self.data);
}
}, 50);
}
});

Loading…
Cancel
Save