Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 25bfa18

Browse files
committed
🐛 Fix horizontal Parsons execution based feedback result area does not autosize
1 parent 4ce9f1c commit 25bfa18

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

runestone/hparsons/js/SQLFeedback.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ export default class SQLFeedback extends HParsonsFeedback {
139139
respDiv = document.createElement("div");
140140
respDiv.id = divid;
141141
this.outDiv.appendChild(respDiv);
142+
// show the output div
143+
$(this.outDiv).show();
142144

143145
// Run this query
144146
let query = await this.buildProg();
@@ -183,9 +185,6 @@ export default class SQLFeedback extends HParsonsFeedback {
183185
}
184186
}
185187

186-
// show the output div
187-
$(this.outDiv).show();
188-
189188
// Now handle autograding
190189
// autograding takes the results of the hidden suffix if exist
191190
// otherwise take the result of student input

0 commit comments

Comments
 (0)