summaryrefslogtreecommitdiff
path: root/assets/js/board.js
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-03-05 20:32:53 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-03-05 20:32:53 -0500
commit1e994f34486da72662ff39f1c3e130e4480e30ab (patch)
tree91ed60da59fe564888adde129207af1eda169905 /assets/js/board.js
parent5d9b5aee6d70de0c1cbd6abe79a22a6c51719069 (diff)
Improve unit test
Diffstat (limited to 'assets/js/board.js')
-rw-r--r--assets/js/board.js6
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');
});
+ });
}());