diff --git a/src/background/bt/table.js b/src/background/bt/table.js index 5b0140b..4cdebaa 100644 --- a/src/background/bt/table.js +++ b/src/background/bt/table.js @@ -57,11 +57,9 @@ class Table{ this.nodes = [] this.caption = cap } - add(node, onAdd) { + add(node) { if (this.nodes.length < this.caption) { this.nodes.push(node) - if(onAdd) - onAdd(node) } } shift() {