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.
2 parents 73d6335 + 89cf8ea commit 3cfe8f1Copy full SHA for 3cfe8f1
htdocs/js/Feedback/feedback.js
@@ -14,7 +14,9 @@
14
// Render MathJax previews.
15
if (window.MathJax) {
16
feedbackBtn.addEventListener('show.bs.popover', () => {
17
- MathJax.startup.promise = MathJax.startup.promise.then(() => MathJax.typesetPromise(['.popover-body']));
+ MathJax.startup.promise = MathJax.startup.promise.then(() =>
18
+ MathJax.typesetPromise(['.popover-body']).then(() => feedbackPopover.update())
19
+ );
20
});
21
}
22
@@ -70,7 +72,6 @@
70
72
if (feedbackBtn.dataset.showCorrectOnly) {
71
73
setTimeout(() => {
74
feedbackBtn.click();
- setTimeout(() => feedbackPopover.update(), 100);
75
}, 0);
76
77
};
0 commit comments