diff options
Diffstat (limited to 'ext/js/settings/profile-controller.js')
-rw-r--r-- | ext/js/settings/profile-controller.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/js/settings/profile-controller.js b/ext/js/settings/profile-controller.js index 914fc679..3883e80a 100644 --- a/ext/js/settings/profile-controller.js +++ b/ext/js/settings/profile-controller.js @@ -17,7 +17,6 @@ /* global * ProfileConditionsUI - * api */ class ProfileController { @@ -58,7 +57,7 @@ class ProfileController { } async prepare() { - const {platform: {os}} = await api.getEnvironmentInfo(); + const {platform: {os}} = await yomichan.api.getEnvironmentInfo(); this._profileConditionsUI.os = os; this._profileActiveSelect = document.querySelector('#profile-active-select'); |