summaryrefslogtreecommitdiff
path: root/assets/js/src/BoardTask.js
diff options
context:
space:
mode:
authorMark Szymanski <mark@blueye.com>2017-01-16 20:27:57 -0600
committerMark Szymanski <mark@blueye.com>2017-01-16 20:27:57 -0600
commitd337aa42bdf67175ba8ed952cf00d11cddd98015 (patch)
treec3de0fa57d66e71477ff56ce0578b4d057579a62 /assets/js/src/BoardTask.js
parent5af514ff7eb3fc5ccf2818c84e2eab11e207ae8d (diff)
Use old menas for element selection
Diffstat (limited to 'assets/js/src/BoardTask.js')
-rw-r--r--assets/js/src/BoardTask.js2
1 files changed, 1 insertions, 1 deletions
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) {