forked from GitHub/gf-core
translation quiz: always show the grammar menu
This commit is contained in:
@@ -94,7 +94,7 @@ Minibar.prototype.show_grammarlist=function(grammars) {
|
|||||||
with(this) {
|
with(this) {
|
||||||
//debug("show_grammarlist ")
|
//debug("show_grammarlist ")
|
||||||
menubar.innerHTML="";
|
menubar.innerHTML="";
|
||||||
if(grammars.length>1) {
|
if(grammars.length>0) {
|
||||||
function opt(g) { return option(g,g); }
|
function opt(g) { return option(g,g); }
|
||||||
appendChildren(grammar_menu,map(opt,grammars));
|
appendChildren(grammar_menu,map(opt,grammars));
|
||||||
grammar_menu.onchange=
|
grammar_menu.onchange=
|
||||||
|
|||||||
Reference in New Issue
Block a user