Skip to content

Commit ed0167a

Browse files
committed
fix type
1 parent a437d45 commit ed0167a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web_src/js/modules/fomantic/dropdown.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ function delegateOne($dropdown: any) {
7979
dropdownCall('internal', 'blurSearch', function () { oldBlurSearch.call(this); dropdownCall('hide') });
8080

8181
const oldFilterItems = dropdownCall('internal', 'filterItems');
82-
dropdownCall('internal', 'filterItems', function () {
83-
oldFilterItems.call(this);
82+
dropdownCall('internal', 'filterItems', function (...args: any[]) {
83+
oldFilterItems.call(this, ...args);
8484
processMenuItems($dropdown, dropdownCall);
8585
});
8686

8787
const oldShow = dropdownCall('internal', 'show');
88-
dropdownCall('internal', 'show', function (...args) {
88+
dropdownCall('internal', 'show', function (...args: any[]) {
8989
oldShow.call(this, ...args);
9090
processMenuItems($dropdown, dropdownCall);
9191
});

0 commit comments

Comments
 (0)