summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-10-28 00:09:36 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-10-28 00:09:36 +0200
commita31ee0a0e9b4f1198cb9ac43d205267b8cf45bb2 (patch)
tree49114b50bfb2953241bcbfe9cdec41b845f3a066 /ext
parentd62d04f806d2e6e5f2c3ac69a7d62f00cc31bd1b (diff)
refactoring
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/api.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 14fc0279..3209cc31 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -22,12 +22,12 @@ function apiOptionsGet(optionsContext) {
}
async function apiOptionsSet(changedOptions, optionsContext, source) {
- let options = await apiOptionsGet(optionsContext);
+ const options = await apiOptionsGet(optionsContext);
function getValuePaths(obj) {
let valuePaths = [];
let nodes = [{
- obj: changedOptions,
+ obj,
path: []
}];
while (nodes.length > 0) {