parent
1f2f91d2d2
commit
d02eb145d5
2 changed files with 2 additions and 2 deletions
|
@ -411,7 +411,7 @@ class ReaderInstance {
|
||||||
menuitem = this._window.document.createElement('menuitem');
|
menuitem = this._window.document.createElement('menuitem');
|
||||||
menuitem.setAttribute('label', Zotero.getString('general.copy'));
|
menuitem.setAttribute('label', Zotero.getString('general.copy'));
|
||||||
menuitem.addEventListener('command', () => {
|
menuitem.addEventListener('command', () => {
|
||||||
Zotero.Utilities.Internal.copyTextToClipboard(data.text);
|
this._window.document.getElementById('menu_copy').click();
|
||||||
});
|
});
|
||||||
popup.appendChild(menuitem);
|
popup.appendChild(menuitem);
|
||||||
// Separator
|
// Separator
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit cca2dcbe5ce1d4566bb6cd28f18c19c030e0c80a
|
Subproject commit 8a690d20abafdbbdd4cd1618f40e794bca27f318
|
Loading…
Reference in a new issue