diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-03-02 17:40:50 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-03-02 17:40:50 (GMT) |
commit | 998f7d719b6ffccc3bb8955fc5b6870b3665146c (patch) | |
tree | 8ca1510087a0db3e282ce13e71fc8148b07376af /Doc/tools | |
parent | 6282e656e994a8722f39db6aea99aad2a826dee6 (diff) | |
parent | ff47cfbc66b30e0714495cc74f92fa009bd8c1ca (diff) | |
download | cpython-998f7d719b6ffccc3bb8955fc5b6870b3665146c.zip cpython-998f7d719b6ffccc3bb8955fc5b6870b3665146c.tar.gz cpython-998f7d719b6ffccc3bb8955fc5b6870b3665146c.tar.bz2 |
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/static/copybutton.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tools/static/copybutton.js b/Doc/tools/static/copybutton.js index dbd1de5..716c9e4 100644 --- a/Doc/tools/static/copybutton.js +++ b/Doc/tools/static/copybutton.js @@ -28,6 +28,7 @@ $(document).ready(function() { var button = $('<span class="copybutton">>>></span>'); button.css(button_styles) button.attr('title', hide_text); + button.data('hidden', 'false'); jthis.prepend(button); } // tracebacks (.gt) contain bare text elements that need to be |