diff --git a/ui/analyse/src/study/chapterNewForm.ts b/ui/analyse/src/study/chapterNewForm.ts index c4b21eac87a4c..39fa70cccf33a 100644 --- a/ui/analyse/src/study/chapterNewForm.ts +++ b/ui/analyse/src/study/chapterNewForm.ts @@ -196,7 +196,9 @@ export function view(ctrl: StudyChapterNewForm): VNode { data.embed = true; data.options = { inlineCastling: true, - orientation: currentChapter.setup.orientation, + orientation: + ((document.getElementById('chapter-orientation') as HTMLSelectElement) + ?.value as Color) || currentChapter.setup.orientation, onChange: ctrl.editorFen, coordinates: true, };