mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 07:12:50 -06:00
Translation Quiz: fix for race condition on page load
This commit is contained in:
@@ -47,6 +47,7 @@ function Minibar(server,opts,target) {
|
||||
this.surface=div_id("surface");
|
||||
this.extra=div_id("extra");
|
||||
this.menubar=div_id("menubar");
|
||||
this.quizbar=div_id("quizbar");
|
||||
this.words=div_id("words");
|
||||
this.translations=div_id("translations");
|
||||
|
||||
@@ -57,7 +58,7 @@ function Minibar(server,opts,target) {
|
||||
|
||||
//modified for quiz
|
||||
with(this) {
|
||||
appendChildren(minibar,[menubar]);
|
||||
appendChildren(minibar,[menubar, quizbar]);
|
||||
appendChildren(minibar_contin,[surface,words]);
|
||||
append_extra_buttons(extra,options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user