jkanban.js fix whitespace changes

This commit is contained in:
MTRNord
2018-09-13 14:39:49 +02:00
parent cd927aa507
commit 57ed2636ac

View File

@@ -311,14 +311,6 @@
if (self.options.boards !== boards) if (self.options.boards !== boards)
self.options.boards.push(board); self.options.boards.push(board);
/*if (!self.options.responsivePercentage) {
//add width to container
if (self.container.style.width === '') {
self.container.style.width = parseInt(boardWidth) + (parseInt(self.options.gutter) * 2) + 'px';
} else {
self.container.style.width = parseInt(self.container.style.width) + parseInt(boardWidth) + (parseInt(self.options.gutter) * 2) + 'px';
}
}*/
//create node //create node
var boardNode = document.createElement('div'); var boardNode = document.createElement('div');
boardNode.dataset.id = board.id; boardNode.dataset.id = board.id;