summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-25 22:20:39 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-25 22:20:39 -0500
commit2f6b9353d54823ed12a57a6bd425323ceb1356d9 (patch)
tree00e831576438af17d2da26daf5a721f8f988f342
parent44b18060834b0afad7c875d32ea162c9f6e31621 (diff)
Improve task limit js condition
-rw-r--r--assets/js/board.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/board.js b/assets/js/board.js
index 4620b668..d67521df 100644
--- a/assets/js/board.js
+++ b/assets/js/board.js
@@ -113,7 +113,7 @@
var task_limit = col.getAttribute("data-task-limit");
- if (task_limit != "") {
+ if (task_limit != "" && task_limit != "0") {
task_limit = parseInt(task_limit);