[docs] [issue26246] Code output toggle button uses removed jQuery method
report at bugs.python.org
Sat Feb 27 02:33:41 EST 2016
Liang-Bo Wang added the comment:
Thanks for the merge.
I pulled the change and checked the result, but I found the patch missing a line to initiate the correct display state when the button was created. That is, it forgot to set `button.data('hidden', 'false');` when adding the button.
This causes the first click on the button to have no effect. But the following clicks will work.
I filed the new patch to add this line back. I'm so sorry I missed this line :(
Added file: http://bugs.python.org/file42036/copybutton_js_2.patch
Python tracker <report at bugs.python.org>
More information about the docs