Skip to content

Commit d63d2e5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 50c9368 commit d63d2e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyterlite_sphinx/jupyterlite_sphinx.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ window.loadTryExamplesConfig = async (configFilePath) => {
186186
for (let pattern of Patterns) {
187187
let regex = new RegExp(pattern);
188188
if (!regex.test(currentPageUrl)) {
189-
var buttons = document.getElementsByClassName("try_examples_button hidden");
189+
var buttons = document.getElementsByClassName(
190+
"try_examples_button hidden",
191+
);
190192
for (var i = 0; i < buttons.length; i++) {
191193
console.log(buttons[i]);
192194
buttons[i].classList.remove("hidden");

0 commit comments

Comments
 (0)