diff options
Diffstat (limited to 'js/src/modules/themes-manager.js')
-rw-r--r-- | js/src/modules/themes-manager.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/modules/themes-manager.js b/js/src/modules/themes-manager.js new file mode 100644 index 0000000000..9807938473 --- /dev/null +++ b/js/src/modules/themes-manager.js @@ -0,0 +1,12 @@ +import $ from 'jquery'; + +/** + * @implements EventListener + */ +export const ThemesManager = { + handleEvent: () => { + $.get('index.php?route=/themes', data => { + $('#themesModal .modal-body').html(data.themes); + }); + } +}; |