Skip to content

Commit 800460f

Browse files
AllenJBderickr
authored andcommitted
interactive-examples.js: Enable for informal examples
1 parent 997ae8c commit 800460f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/interactive-examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class PHP {
6060
async function main() {
6161
let lastOutput = null;
6262

63-
document.querySelectorAll(".example .example-contents").forEach((example) => {
63+
document.querySelectorAll(".example .example-contents, .informalexample .example-contents").forEach((example) => {
6464
const button = document.createElement("button");
6565
button.setAttribute("type", "button");
6666
const phpcode = example.querySelector(".phpcode.annotation-interactive");

0 commit comments

Comments
 (0)