summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-01-21 06:02:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-01-21 06:02:30 (GMT)
commitc836f717cd73be8bcc9a0d09ba2d048bca9549f6 (patch)
treeccc6e5eab0e64635035879393cd992b1e8f5eaf4 /Doc
parent33a827678ea71b3586c8a60d76b8158ec4ac6f78 (diff)
downloadcpython-c836f717cd73be8bcc9a0d09ba2d048bca9549f6.zip
cpython-c836f717cd73be8bcc9a0d09ba2d048bca9549f6.tar.gz
cpython-c836f717cd73be8bcc9a0d09ba2d048bca9549f6.tar.bz2
remove script from epub (closes #26172)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tools/templates/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index 5abff1b..8ae6e23 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -18,7 +18,7 @@
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %}
- {% if pagename == 'whatsnew/changelog' %}
+ {% if pagename == 'whatsnew/changelog' and not embedded %}
<script type="text/javascript">
$(document).ready(function() {
// add the search form and bind the events