Commit 72dcb501 authored by Berker Peksag's avatar Berker Peksag

Issue #26246: Set initial value of the hidden attr when creating copy button.

Patch by Liang-Bo Wang.
parent a13ebe2c
......@@ -28,6 +28,7 @@ $(document).ready(function() {
var button = $('<span class="copybutton">&gt;&gt;&gt;</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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment