Skip to content
Permalink
Browse files

[FIX] Use this instead of self

  • Loading branch information...
ssaid committed Aug 2, 2019
1 parent 2ce93a1 commit 254a4bbb2085bd050dfec96f3344ba2612f29ff2
Showing with 1 addition and 1 deletion.
  1. +1 −1 pos_keyboard/static/src/js/pos.js
@@ -255,7 +255,7 @@ odoo.define('pos_keyboard.pos', function (require) {
// stops catching keyboard events
disconnect: function(){
$('body').off('keyup', '');
self.active = false;
this.active = false;
}
});

0 comments on commit 254a4bb

Please sign in to comment.
You can’t perform that action at this time.