Fix lint errors.

This commit is contained in:
Lauri Ojansivu 2017-06-02 19:18:31 +03:00
parent 3b6c1baff3
commit bee9bf2226

View file

@ -39,7 +39,9 @@ Template.listActionPopup.events({
'click .js-add-card' () { 'click .js-add-card' () {
const listDom = document.getElementById(`js-list-${this._id}`); const listDom = document.getElementById(`js-list-${this._id}`);
const listComponent = BlazeComponent.getComponentForElement(listDom); const listComponent = BlazeComponent.getComponentForElement(listDom);
listComponent.openForm({ position: 'top' }); listComponent.openForm({
position: 'top'
});
Popup.close(); Popup.close();
}, },
'click .js-list-subscribe' () {}, 'click .js-list-subscribe' () {},
@ -64,10 +66,9 @@ Template.listActionPopup.events({
}); });
Template.listMorePopup.events({ Template.listMorePopup.events({
'click .js-delete': Popup.afterConfirm('listDelete', function() { 'click .js-delete': Popup.afterConfirm('listDelete', function () {
Popup.close(); Popup.close();
Lists.remove(this._id); Lists.remove(this._id);
Utils.goBoardId(this.boardId); Utils.goBoardId(this.boardId);
}), }),
}); });