Skip to content

Commit da18eb8

Browse files
committed
see if JS is interfering
1 parent 76630e6 commit da18eb8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/version-switcher.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{# As the version switcher will only work when JavaScript is enabled, we add it through JavaScript.
22
#}
33
{% if theme_switcher.get('use_rtd') is defined and theme_switcher.get('use_rtd') %}
4-
<script>
5-
document.write(`<div id="readthedocs-embed-flyout"></div>`);
6-
</script>
4+
<div id="readthedocs-embed-flyout"></div>
75
{% else %}
86
<script>
97
document.write(`

0 commit comments

Comments
 (0)