This commit is contained in:
german 2026-04-14 15:26:00 +04:00
parent adf366c1d1
commit 12adaec761

View File

@ -1,3 +1,5 @@
const rootid = 'root';
const questions = [ const questions = [
{ {
image: "image.avif", image: "image.avif",
@ -22,7 +24,7 @@ const questions = [
class Quiz extends Find.createApp() { class Quiz extends Find.createApp() {
constructor(questions) { constructor(questions) {
const root = Find.search('root'); const root = Find.search(rootid);
super(root); super(root);
this.question_type = undefined; this.question_type = undefined;
this.questions = questions; this.questions = questions;