diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-01-21 06:02:30 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-01-21 06:02:30 (GMT) |
commit | c836f717cd73be8bcc9a0d09ba2d048bca9549f6 (patch) | |
tree | ccc6e5eab0e64635035879393cd992b1e8f5eaf4 /Doc | |
parent | 33a827678ea71b3586c8a60d76b8158ec4ac6f78 (diff) | |
download | cpython-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.html | 2 |
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 |