summaryrefslogtreecommitdiff
path: root/assets/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/app.js')
-rw-r--r--assets/js/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/assets/js/app.js b/assets/js/app.js
index 78354dde..20af61eb 100644
--- a/assets/js/app.js
+++ b/assets/js/app.js
@@ -77,8 +77,7 @@ Kanboard.Board = (function() {
connectWith: ".column",
placeholder: "draggable-placeholder",
stop: function(event, ui) {
- var task_id = parseInt(ui.item[0].getAttribute("data-task-id"));
- board_save(task_id);
+ board_save(ui.item.attr('data-task-id'));
}
});