Skip to content

Commit

Permalink
fix: const reasigned
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienwnklr authored and risadams committed Jan 5, 2023
1 parent 7cfafb7 commit 0f3a12b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/auto_position/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Selectize.define("auto_position", function () {
controlPosBottom - dropdownHeight - wrapperHeight >= 0 ?
POSITION.top :
POSITION.bottom;
const w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
let w = this.$wrapper[0].style.width !== 'fit-content' ? this.settings.dropdownParent === 'body' ? 'max-content' : '100%' : 'max-content';
const styles = {
width: w,
minWidth : $control.outerWidth(true),
Expand Down

0 comments on commit 0f3a12b

Please sign in to comment.