diff --git a/scripts/index.js b/scripts/index.js index 8fa5f4d6..c0b7f8f6 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -210,7 +210,7 @@ function process_files() } position.add_option(`${color} ${pos}`) } - position.def = position.options[get_cookie(POSITION_COOKIE, 0)] + position.value = position.options[get_cookie(POSITION_COOKIE, 0)] document.getElementById('position').replaceChildren(...position.option_elements) }