diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-01-20 22:02:30 -0800 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-01-20 22:02:30 -0800 |
commit | 9cc83fc23e6b7b3442ebdf44b48de08b571d8d53 (patch) | |
tree | c99ead99e900d9bb317e7fd03296553f10997ed6 | |
parent | ec38236201cc38696b951fbbd3190bb495513e44 (diff) | |
download | cpython-9cc83fc23e6b7b3442ebdf44b48de08b571d8d53.tar.gz |
remove script from epub (closes #26172)
-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 5abff1b398..8ae6e23f80 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 |