Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit e8a13d9

Browse files
Ghislain BeaulacGhislain Beaulac
authored andcommitted
fix(build): fix ng build prod, lib should be coded as ES5
1 parent 5aaa7e7 commit e8a13d9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/app/examples/grid-menu.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ export class GridMenuComponent implements OnInit {
5252
filterable: true,
5353
filter: {
5454
collection: [{ value: '', label: '' }, { value: true, label: 'true' }, { value: false, label: 'false' }],
55-
model: Filters.singleSelect,
56-
filterOptions: {
57-
autoDropWidth: true
58-
},
55+
model: Filters.singleSelect
5956
}
6057
}
6158
];

src/assets/lib/multiple-select/multiple-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@
626626
var scrollbarWidth = hasScrollbar ? this.getScrollbarWidth() : 0;
627627
var maxDropWidth = 0;
628628

629-
$('li span', this.$drop).each((index, elm) => {
629+
$('li span', this.$drop).each(function(index, elm) {
630630
var spanWidth = $(elm).width();
631631
if (spanWidth > maxDropWidth) {
632632
maxDropWidth = spanWidth;

0 commit comments

Comments
 (0)