We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e6f6a commit 2e77826Copy full SHA for 2e77826
1 file changed
exercise/static/exercise/assessment.js
@@ -115,7 +115,11 @@ $(function () {
115
const tabElement = $(this);
116
// Check if the tab contains a 'pre' element to attach buttons to
117
const preElement = tabElement.children('pre');
118
- const extraButtons = tabElement.addStickyButton('graderFeedbackSticky');
+
119
+ // Add a sticky button only for the grader feedback tab
120
+ const tabId = tabElement.attr('id');
121
+ const extraButtons = tabId === 'grader-feedback' ? tabElement.addStickyButton('graderFeedbackSticky') : [];
122
123
if (preElement.length === 1) {
124
// "Highlight" the grader feedback to get line numbers and buttons
125
preElement
0 commit comments