Skip to content

Commit 97e811e

Browse files
committed
fix
1 parent 6a2ec4e commit 97e811e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ function handleTaskSelect() {
107107
currentTask = taskSelect.value;
108108
const taskData = taskConfigs[currentTask];
109109

110-
// Update image to use task and config specific path
111-
taskImage.src = `media/images/${currentTask}/${currentConfig}.png`;
112-
113110
// Update instruction dropdown
114111
instructionSelect.innerHTML = '';
115112
taskData.instructions.forEach(instruction => {
@@ -132,6 +129,9 @@ function handleTaskSelect() {
132129
configSelect.value = 'config_1';
133130
currentConfig = 'config_1';
134131

132+
// Update image to use task and config specific path
133+
taskImage.src = `media/images/${currentTask}/${currentConfig}.png`;
134+
135135
// Load default intermediate results for new task
136136
loadDefaultIntermediateResults();
137137
loadDefaultPointCloud();

0 commit comments

Comments
 (0)