From d337aa42bdf67175ba8ed952cf00d11cddd98015 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Mon, 16 Jan 2017 20:27:57 -0600 Subject: Use old menas for element selection --- assets/js/src/BoardTask.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/js/src') diff --git a/assets/js/src/BoardTask.js b/assets/js/src/BoardTask.js index 911e8a7e..8a0577d9 100644 --- a/assets/js/src/BoardTask.js +++ b/assets/js/src/BoardTask.js @@ -9,7 +9,7 @@ Kanboard.BoardTask.prototype.listen = function() { $(document).on("click", ".task-board-change-assignee", function(e) { e.preventDefault(); e.stopPropagation(); - KB.modal.open($(e.target).closest(".task-board-change-assignee").data("url"), "medium", false); + KB.modal.open($(this).data("url"), "medium", false); }); $(document).on("click", ".task-board", function(e) { -- cgit v1.2.3