Skip to content

Commit 976c147

Browse files
authored
Update web_src/js/modules/fomantic/dropdown.ts
1 parent 487a60e commit 976c147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/modules/fomantic/dropdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function delegateOne($dropdown: any) {
7575
// the "template" functions are used for dynamic creation (eg: AJAX)
7676
const dropdownTemplates = {...dropdownCall('setting', 'templates'), t: performance.now()};
7777
const dropdownTemplatesMenuOld = dropdownTemplates.menu;
78-
dropdownTemplates.menu = function(response: any, fields: any, preserveHTML: any, className: string) {
78+
dropdownTemplates.menu = function(response: any, fields: any, preserveHTML: any, className: Record<string, string>) {
7979
// when the dropdown menu items are loaded from AJAX requests, the items are created dynamically
8080
const menuItems = dropdownTemplatesMenuOld(response, fields, preserveHTML, className);
8181
const div = document.createElement('div');

0 commit comments

Comments
 (0)