diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-03-02 17:40:30 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-03-02 17:40:30 (GMT) |
commit | ff47cfbc66b30e0714495cc74f92fa009bd8c1ca (patch) | |
tree | 7af79cc128c3d6a5d2b2c5b1fae9ea418f0a37fc | |
parent | c724bae51cd0580cd493f319f3b14c2e1a28f3b6 (diff) | |
parent | 25c0ef518d0e9267c4d31284a3ad93d4559d84c6 (diff) | |
download | cpython-ff47cfbc66b30e0714495cc74f92fa009bd8c1ca.zip cpython-ff47cfbc66b30e0714495cc74f92fa009bd8c1ca.tar.gz cpython-ff47cfbc66b30e0714495cc74f92fa009bd8c1ca.tar.bz2 |
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
-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 |