1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

interactive-examples.js: Enable for informal examples

This commit is contained in:
AllenJB
2025-09-28 12:45:20 +01:00
committed by Derick Rethans
parent 997ae8c049
commit 800460f6c2

View File

@@ -60,7 +60,7 @@ class PHP {
async function main() {
let lastOutput = null;
document.querySelectorAll(".example .example-contents").forEach((example) => {
document.querySelectorAll(".example .example-contents, .informalexample .example-contents").forEach((example) => {
const button = document.createElement("button");
button.setAttribute("type", "button");
const phpcode = example.querySelector(".phpcode.annotation-interactive");