help-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix typo in Storage#constructor


From: Piper McCorkle
Subject: [PATCH] Fix typo in Storage#constructor
Date: Thu, 22 Aug 2024 23:34:46 -0500

Found this typo from TypeScript language server diagnostics.
---
 common/Storage.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/Storage.js b/common/Storage.js
index 398dbb4..631d6e0 100644
--- a/common/Storage.js
+++ b/common/Storage.js
@@ -61,7 +61,7 @@ class ListStore {
     this.storage = storage;
     this.items = new Set();
     browser.storage.onChanged.addListener(changes => {
-      if (!this.saving && this.key in changes) {
+      if (!this._saving && this.key in changes) {
         this.load(changes[this.key].newValue);
       }
     });
-- 
2.43.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]