diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-10-17 21:38:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-17 21:38:29 -0400 |
commit | a4550627af2968019ea4bb08ff1b0a66fa9d7615 (patch) | |
tree | 292fde0b1354a8d6b151af81b5204488763ac4da /ext/bg/js/settings/generic-setting-controller.js | |
parent | 74feeb228f52e32c792d44bcca129f2edf0062db (diff) |
Add a refresh function to GenericSettingsController (#929)
Diffstat (limited to 'ext/bg/js/settings/generic-setting-controller.js')
-rw-r--r-- | ext/bg/js/settings/generic-setting-controller.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings/generic-setting-controller.js b/ext/bg/js/settings/generic-setting-controller.js index cb49845a..132dc042 100644 --- a/ext/bg/js/settings/generic-setting-controller.js +++ b/ext/bg/js/settings/generic-setting-controller.js @@ -46,6 +46,10 @@ class GenericSettingController { this._settingsController.on('optionsChanged', this._onOptionsChanged.bind(this)); } + async refresh() { + await this._dataBinder.refresh(); + } + // Private _onOptionsChanged() { |