diff options
| author | hallgren <hallgren@altocumulus.org> | 2011-02-18 11:52:08 +0000 |
|---|---|---|
| committer | hallgren <hallgren@altocumulus.org> | 2011-02-18 11:52:08 +0000 |
| commit | ac41fe547f1f68ada1d56c6a9f6f3fae3f3abe37 (patch) | |
| tree | f8a3f24a14f34ec141dda4c9b102184d6e1555be | |
| parent | c2c8f34288066e250ac390feca410c2d548846a1 (diff) | |
translation quiz: always show the grammar menu
| -rw-r--r-- | demos/TransQuiz/minibar_quiz.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/TransQuiz/minibar_quiz.js b/demos/TransQuiz/minibar_quiz.js index 9bcefed97..bc04550a6 100644 --- a/demos/TransQuiz/minibar_quiz.js +++ b/demos/TransQuiz/minibar_quiz.js @@ -94,7 +94,7 @@ Minibar.prototype.show_grammarlist=function(grammars) { with(this) { //debug("show_grammarlist ") menubar.innerHTML=""; - if(grammars.length>1) { + if(grammars.length>0) { function opt(g) { return option(g,g); } appendChildren(grammar_menu,map(opt,grammars)); grammar_menu.onchange= |
