diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-03-02 17:44:24 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-03-02 17:44:24 (GMT) |
commit | bb569362f4b11b6f90c6b0b60eeeb6dd5b055c97 (patch) | |
tree | 72bfe2b3e821801d8609c6e135236d45ac46df41 /Doc | |
parent | b6b1ab4fa83c000f14bd63c92d9182fbd507d0be (diff) | |
download | cpython-bb569362f4b11b6f90c6b0b60eeeb6dd5b055c97.zip cpython-bb569362f4b11b6f90c6b0b60eeeb6dd5b055c97.tar.gz cpython-bb569362f4b11b6f90c6b0b60eeeb6dd5b055c97.tar.bz2 |
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
Diffstat (limited to 'Doc')
-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 593b594..52e6c2d 100644 --- a/Doc/tools/static/copybutton.js +++ b/Doc/tools/static/copybutton.js @@ -27,6 +27,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 |