fix: show first chapter and question form by default

This commit is contained in:
Jannat Patel
2022-09-15 22:52:17 +05:30
parent f3adbfef55
commit 47b9b1dcd6
11 changed files with 69 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ const scroll_to_chapter_container = () => {
scrollTop: $(".new-chapter").offset().top
}, 1000);
$(".new-chapter").find(".chapter-title-main").focus();
}
};
const save_chapter = (e) => {
@@ -150,7 +150,7 @@ const save_chapter = (e) => {
});
setTimeout(() => {
window.location.reload();
}, 1000)
}, 1000);
}
});
};