aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-28 19:09:49 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-07-28 19:09:49 +0900
commit6f4e327b6f91aa687b373463d8bc284ffaceba53 (patch)
tree223dde8ebc7d3caa66a6e72da118440e30968e9f
parent7cd606fd70271d614292a732db3b19afbee6c63b (diff)
Fix indicate return values
-rw-r--r--src/background/controllers/addon-enabled.js2
-rw-r--r--src/background/usecases/addon-enabled.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/background/controllers/addon-enabled.js b/src/background/controllers/addon-enabled.js
index 0f5d801..6a9b776 100644
--- a/src/background/controllers/addon-enabled.js
+++ b/src/background/controllers/addon-enabled.js
@@ -6,6 +6,6 @@ export default class AddonEnabledController {
}
indicate(enabled) {
- this.addonEnabledInteractor.indicate(enabled);
+ return this.addonEnabledInteractor.indicate(enabled);
}
}
diff --git a/src/background/usecases/addon-enabled.js b/src/background/usecases/addon-enabled.js
index 37eb1c2..d83192f 100644
--- a/src/background/usecases/addon-enabled.js
+++ b/src/background/usecases/addon-enabled.js
@@ -15,7 +15,7 @@ export default class AddonEnabledInteractor {
}
indicate(enabled) {
- this.indicatorPresentor.indicate(enabled);
+ return this.indicatorPresentor.indicate(enabled);
}
onIndicatorClick(tabId) {