Skip to content

Commit 0f3a12b

Browse files
fabienwnklrrisadams
authored andcommitted
fix: const reasigned
1 parent 7cfafb7 commit 0f3a12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/auto_position/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Selectize.define("auto_position", function () {
2121
controlPosBottom - dropdownHeight - wrapperHeight >= 0 ?
2222
POSITION.top :
2323
POSITION.bottom;
24-
const w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
24+
let w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
2525
const styles = {
2626
width: w,
2727
minWidth : $control.outerWidth(true),

0 commit comments

Comments
 (0)