mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
linting
This commit is contained in:
parent
b194a63960
commit
ac1ddeea9b
@ -313,12 +313,12 @@ define([
|
||||
if (target.classList.contains('kanban-trash')) {
|
||||
list.splice(index1, 1);
|
||||
if (list.indexOf(id) === -1) {
|
||||
var board = self.options.boards.data[id]
|
||||
var board = self.options.boards.data[id];
|
||||
var boardItems = board.item;
|
||||
boardItems.forEach(function(item) {
|
||||
delete self.options.boards.items[item];
|
||||
});
|
||||
delete board;
|
||||
delete self.options.boards.data[id];
|
||||
}
|
||||
self.onChange();
|
||||
self.setBoards(self.options.boards);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user