summaryrefslogtreecommitdiffstats
path: root/browser/extensions/screenshots/selector/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/extensions/screenshots/selector/ui.js')
-rw-r--r--browser/extensions/screenshots/selector/ui.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/browser/extensions/screenshots/selector/ui.js b/browser/extensions/screenshots/selector/ui.js
index c8433a8f84..9e54a1dfb2 100644
--- a/browser/extensions/screenshots/selector/ui.js
+++ b/browser/extensions/screenshots/selector/ui.js
@@ -85,7 +85,7 @@ this.ui = (function () {
document: null,
window: null,
display(installHandlerOnDocument) {
- return new Promise((resolve, reject) => {
+ return new Promise(resolve => {
if (!this.element) {
this.element = initializeIframe();
this.element.id = "firefox-screenshots-selection-iframe";
@@ -240,7 +240,7 @@ this.ui = (function () {
document: null,
window: null,
display(installHandlerOnDocument, standardOverlayCallbacks) {
- return new Promise((resolve, reject) => {
+ return new Promise(resolve => {
if (!this.element) {
this.element = initializeIframe();
this.element.id = "firefox-screenshots-preselection-iframe";
@@ -381,7 +381,7 @@ this.ui = (function () {
document: null,
window: null,
display(installHandlerOnDocument, standardOverlayCallbacks) {
- return new Promise((resolve, reject) => {
+ return new Promise(resolve => {
if (!this.element) {
this.element = initializeIframe();
this.element.id = "firefox-screenshots-preview-iframe";