summaryrefslogtreecommitdiff
path: root/ext/js/display/display-generator.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-15 14:31:16 -0500
committerGitHub <noreply@github.com>2021-02-15 14:31:16 -0500
commit7027d537a914cbd5a2f8aa6accf221efeed4af0d (patch)
treedb58844ac62349412d6676441270493f7f82d1d1 /ext/js/display/display-generator.js
parent74a9c7499c27564917e716a4a05bf9441428f336 (diff)
Display audio menu refactor (#1404)
* Update display and generation of the audio menu * Wrap menu items in a div to allow for horizontal layout groupings
Diffstat (limited to 'ext/js/display/display-generator.js')
-rw-r--r--ext/js/display/display-generator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js
index 18159f68..1b3908fe 100644
--- a/ext/js/display/display-generator.js
+++ b/ext/js/display/display-generator.js
@@ -213,8 +213,8 @@ class DisplayGenerator {
return this._templates.instantiate('profile-list-item');
}
- createPopupMenu(name) {
- return this._templates.instantiate(`${name}-popup-menu`);
+ instantiateTemplate(name) {
+ return this._templates.instantiate(name);
}
// Private