[docs] [issue26246] Code output toggle button uses removed jQuery method

Liang-Bo Wang 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>
<http://bugs.python.org/issue26246>
_______________________________________


More information about the docs mailing list