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 <rep...@bugs.python.org> <http://bugs.python.org/issue26246> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com