From 8f27389f6cca25f56c0e8d5e81378214c67c770d Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 28 Oct 2019 11:57:11 +0100 Subject: [PATCH] Fix kanban issue --- www/kanban/jkanban.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/kanban/jkanban.js b/www/kanban/jkanban.js index 48d37e321..72410f87f 100644 --- a/www/kanban/jkanban.js +++ b/www/kanban/jkanban.js @@ -280,7 +280,7 @@ nodeItem.dragfn = element.drag; nodeItem.dragendfn = element.dragend; nodeItem.dropfn = element.drop; - __onclickHandler(nodeItem); + __onclickHandler(nodeItemText); __onColorClickHandler(nodeItem, "item"); board.appendChild(nodeItem); // send event that board has changed @@ -397,8 +397,7 @@ //footer board //add button var addBoardItem = document.createElement('button'); - addBoardItem.setAttribute('title', 'Add new item'); - $(addBoardItem).addClass("btn btn-default fa fa-plus"); + $(addBoardItem).addClass("kanban-title-button btn btn-default fa fa-plus"); headerBoard.appendChild(addBoardItem); __onAddItemClickHandler(addBoardItem);