aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tada.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tada.js b/tada.js
index 6ac8de0..4625890 100644
--- a/tada.js
+++ b/tada.js
@@ -165,7 +165,9 @@ liberator.plugins.tada = (function(){
// }}}
// PRIVATE {{{
- function tadaListCompleter(context) {
+ function tadaListCompleter(context, args) {
+ if (args.length > 1)
+ return;
context.title = ["List", "Items left"];
context.completions = getLists().map(function(item) [item[1], item[2]]);
}