Fix todos specs.
This commit is contained in:
parent
ed8f27e636
commit
e0d66819e9
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
((global) => {
|
||||
|
||||
class Todos {
|
||||
constructor({ el }) {
|
||||
constructor({ el } = {}) {
|
||||
this.allDoneClicked = this.allDoneClicked.bind(this);
|
||||
this.doneClicked = this.doneClicked.bind(this);
|
||||
this.el = el || $('.js-todos-options');
|
||||
|
|
Loading…
Reference in a new issue