Skip to content

Commit 39a4509

Browse files
committed
Deploying to gh-pages from @ ca046f4 🚀
1 parent ba89d6b commit 39a4509

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

latest/.doctrees/environment.pickle

0 Bytes
Binary file not shown.

latest/_static/js/versions.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,7 @@ if (themeFlyoutDisplay === "attached") {
132132
const event = new CustomEvent("readthedocs-search-show");
133133
document.dispatchEvent(event);
134134
});
135-
136-
// Trigger the Read the Docs Addons Search modal when clicking on "Search docs" input from the topnav.
137-
document
138-
.querySelector("[role='search'] input")
139-
.addEventListener("focusin", () => {
140-
const event = new CustomEvent("readthedocs-search-show");
141-
document.dispatchEvent(event);
142-
});
143-
});
135+
})
144136
}
145137

146138
if (themeLanguageSelector || themeVersionSelector) {
@@ -219,4 +211,14 @@ if (themeLanguageSelector || themeVersionSelector) {
219211
}
220212
}
221213
});
222-
}
214+
}
215+
216+
document.addEventListener("readthedocs-addons-data-ready", function (event) {
217+
// Trigger the Read the Docs Addons Search modal when clicking on "Search docs" input from the topnav.
218+
document
219+
.querySelector("[role='search'] input")
220+
.addEventListener("focusin", () => {
221+
const event = new CustomEvent("readthedocs-search-show");
222+
document.dispatchEvent(event);
223+
});
224+
});

0 commit comments

Comments
 (0)