diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-03-05 20:32:53 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-03-05 20:32:53 -0500 |
commit | 1e994f34486da72662ff39f1c3e130e4480e30ab (patch) | |
tree | 91ed60da59fe564888adde129207af1eda169905 /assets/js/board.js | |
parent | 5d9b5aee6d70de0c1cbd6abe79a22a6c51719069 (diff) |
Improve unit test
Diffstat (limited to 'assets/js/board.js')
-rw-r--r-- | assets/js/board.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/js/board.js b/assets/js/board.js index 7742f3df..33e47053 100644 --- a/assets/js/board.js +++ b/assets/js/board.js @@ -212,9 +212,9 @@ }); [].forEach.call(document.querySelectorAll('[data-task-id]'), function (item) { - item.addEventListener('click', function() { - window.location.href = '?controller=task&action=show&task_id=' + item.getAttribute('data-task-id'); - }); + item.addEventListener('click', function() { + window.location.href = '?controller=task&action=show&task_id=' + item.getAttribute('data-task-id'); }); + }); }()); |