summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-18 21:15:15 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-18 21:15:15 -0400
commit51d756eefc26402e4d6f9635acc77ba7f642d15b (patch)
tree6750dfc7e2640ea9d0edee15cfca1768c7887c9c /ext/bg/js/backend.js
parent4638985b16951b1b1b3895ca0bf52575f1f0bd6b (diff)
Fix _prepareError check
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 8c0b531f..e0814c17 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -886,7 +886,7 @@ class Backend {
let status = null;
if (!this._isPrepared) {
- if (this._prepareError !== null) {
+ if (this._prepareError) {
text = '!!';
color = '#f04e4e';
status = 'Error';