1
0
forked from GitHub/gf-core

translation quiz: always show the grammar menu

This commit is contained in:
hallgren
2011-02-18 11:52:08 +00:00
parent c2c8f34288
commit ac41fe547f

View File

@@ -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=