We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec72456 commit 86bbd60Copy full SHA for 86bbd60
src/js/components/CopyToClipboard.js
@@ -46,11 +46,11 @@ export default class extends React.PureComponent {
46
if (navigator.clipboard) {
47
navigator.clipboard.writeText(textToCopy).catch(() => {
48
// Fallback for non-secure contexts (i.e. http)
49
- copyToClipboardFallback(textToCopy);
+ this.copyToClipboardFallback(textToCopy);
50
});
51
} else {
52
// Fallback for old browsers and test environments
53
54
};
55
56
this.copiedTimer = setTimeout(() => {
0 commit comments