summaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/template-renderer-frame-api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/template-renderer-frame-api.js b/ext/bg/js/template-renderer-frame-api.js
index 7668e176..ff09dc90 100644
--- a/ext/bg/js/template-renderer-frame-api.js
+++ b/ext/bg/js/template-renderer-frame-api.js
@@ -47,7 +47,7 @@ class TemplateRendererFrameApi {
response = {error: this._errorToJson(error)};
}
- if (typeof id === undefined) { return; }
+ if (typeof id === 'undefined') { return; }
source.postMessage({action: `${action}.response`, params: response, id}, '*');
}