summaryrefslogtreecommitdiffstats
path: root/browser/extensions/screenshots/clipboard.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/extensions/screenshots/clipboard.js')
-rw-r--r--browser/extensions/screenshots/clipboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/extensions/screenshots/clipboard.js b/browser/extensions/screenshots/clipboard.js
index d4dbc38a14..6c133e124a 100644
--- a/browser/extensions/screenshots/clipboard.js
+++ b/browser/extensions/screenshots/clipboard.js
@@ -10,7 +10,7 @@ this.clipboard = (function () {
const exports = {};
exports.copy = function (text) {
- return new Promise((resolve, reject) => {
+ return new Promise(resolve => {
const element = document.createElement("iframe");
element.src = browser.runtime.getURL("blank.html");
// We can't actually hide the iframe while copying, but we can make