diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-02-24 23:30:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-25 04:30:58 +0000 |
commit | 0e005f2ca6a3d9e572ed18b51c720d8bea907118 (patch) | |
tree | 697931975a5caf68e848f63f4a18cc4a4fe75372 /ext/js/pages/settings/settings-controller.js | |
parent | 9b5de0d2d4cb224751c57bdae6558a046351c2f4 (diff) |
Fix anki template field marker menu (#725)
* Fix HTML collection
* Expose templates
* Fix menu setup
* Warn
Diffstat (limited to 'ext/js/pages/settings/settings-controller.js')
-rw-r--r-- | ext/js/pages/settings/settings-controller.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/js/pages/settings/settings-controller.js b/ext/js/pages/settings/settings-controller.js index 282479de..a9f3a026 100644 --- a/ext/js/pages/settings/settings-controller.js +++ b/ext/js/pages/settings/settings-controller.js @@ -66,6 +66,11 @@ export class SettingsController extends EventDispatcher { this._setProfileIndex(value, true); } + /** @type {HtmlTemplateCollection} */ + get templates() { + return this._templates; + } + /** */ async prepare() { await this._templates.loadFromFiles(['/templates-settings.html']); |