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 6b8478f commit 3c16d61Copy full SHA for 3c16d61
1 file changed
bases/rsptx/interactives/runestone/common/js/pretext.js
@@ -27,7 +27,7 @@ function setupPTXEvents() {
27
// log an event when a sage cell is evaluated
28
document.querySelectorAll(".sagecell_evalButton").forEach((btn) => {
29
btn.addEventListener("click", function () {
30
- let container = btn.closest(".sagecell-sage");
+ let container = btn.closest(".ptx-sagecell");
31
let codeInput = container ? container.querySelector(".sagecell_input") : null;
32
let code = codeInput ? codeInput.textContent : "";
33
let div_id = container ? container.id : null;
0 commit comments