We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent def09c1 commit 6294328Copy full SHA for 6294328
1 file changed
assets/js/aplus.js
@@ -590,6 +590,14 @@ $(function () {
590
this.content.html(data.content);
591
}
592
this.content.show();
593
+
594
+ // Fix for older python-grader-utils versions without Bootstrap5 update
595
+ $('[data-toggle]').each(function() {
596
+ const value = $(this).attr('data-toggle');
597
+ $(this).attr('data-bs-toggle', value);
598
+ $(this).removeAttr('data-toggle');
599
+ });
600
601
return this.content;
602
603
});
0 commit comments