Scaffold: Fix code completion not working until pref changes

This commit is contained in:
Abe Jellinek 2025-04-14 11:21:30 -06:00
parent 8c7ab1eb6a
commit 71a4742092

View file

@ -186,6 +186,7 @@ var Scaffold = new function () {
}
_prefsObserverID = Zotero.Prefs.registerObserver('scaffold.completions.mistralAPIKey', _handleAPIKeyChange);
_handleAPIKeyChange();
};
this.handleUnload = function () {