[Python-checkins] cpython (merge 3.5 -> default): Issue #26246: Set initial value of the hidden attr when creating copy button.
berker.peksag
python-checkins at python.org
Wed Mar 2 12:40:26 EST 2016
https://hg.python.org/cpython/rev/3e897eef0fac
changeset: 100405:3e897eef0fac
parent: 100402:ba71aecec943
parent: 100404:256339c28d42
user: Berker Peksag <berker.peksag at gmail.com>
date: Wed Mar 02 19:40:50 2016 +0200
summary:
Issue #26246: Set initial value of the hidden attr when creating copy button.
Patch by Liang-Bo Wang.
files:
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
--- a/Doc/tools/static/copybutton.js
+++ b/Doc/tools/static/copybutton.js
@@ -28,6 +28,7 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list