Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[embedlite-components] Fix clipboard copy string. JB#49804
  • Loading branch information
rainemak committed May 15, 2020
1 parent dce0ba4 commit 668ca5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsscripts/SelectionHandler.js
Expand Up @@ -307,7 +307,7 @@ function SelectionHandler() {
if (tapInSelection && selectedText.length) {
let clipboard = Cc["@mozilla.org/widget/clipboardhelper;1"]
.getService(Ci.nsIClipboardHelper);
clipboard.copyString(selectedText, this._contentWindow.document);
clipboard.copyString(selectedText);
success = true;
}
sendSyncMessage("Content:SelectionCopied", { succeeded: success });
Expand Down

0 comments on commit 668ca5b

Please sign in to comment.