Fixed sizing of the new select element
This commit is contained in:
parent
27ac50a854
commit
845f245e1c
7 changed files with 7 additions and 7 deletions
2
dist/js/select2.amd.full.js
vendored
2
dist/js/select2.amd.full.js
vendored
|
@ -834,7 +834,7 @@ define('select2/core',[
|
|||
|
||||
$container.insertAfter(this.$element);
|
||||
|
||||
$container.width($element.width());
|
||||
$container.width($element.outerWidth(false));
|
||||
|
||||
this.selection = new this.options.selectionAdapter($element, this.options);
|
||||
|
||||
|
|
2
dist/js/select2.amd.js
vendored
2
dist/js/select2.amd.js
vendored
|
@ -834,7 +834,7 @@ define('select2/core',[
|
|||
|
||||
$container.insertAfter(this.$element);
|
||||
|
||||
$container.width($element.width());
|
||||
$container.width($element.outerWidth(false));
|
||||
|
||||
this.selection = new this.options.selectionAdapter($element, this.options);
|
||||
|
||||
|
|
2
dist/js/select2.full.js
vendored
2
dist/js/select2.full.js
vendored
|
@ -10372,7 +10372,7 @@ define('select2/core',[
|
|||
|
||||
$container.insertAfter(this.$element);
|
||||
|
||||
$container.width($element.width());
|
||||
$container.width($element.outerWidth(false));
|
||||
|
||||
this.selection = new this.options.selectionAdapter($element, this.options);
|
||||
|
||||
|
|
2
dist/js/select2.full.min.js
vendored
2
dist/js/select2.full.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/select2.js
vendored
2
dist/js/select2.js
vendored
|
@ -1263,7 +1263,7 @@ define('select2/core',[
|
|||
|
||||
$container.insertAfter(this.$element);
|
||||
|
||||
$container.width($element.width());
|
||||
$container.width($element.outerWidth(false));
|
||||
|
||||
this.selection = new this.options.selectionAdapter($element, this.options);
|
||||
|
||||
|
|
2
dist/js/select2.min.js
vendored
2
dist/js/select2.min.js
vendored
File diff suppressed because one or more lines are too long
2
src/js/select2/core.js
vendored
2
src/js/select2/core.js
vendored
|
@ -23,7 +23,7 @@ define([
|
|||
|
||||
$container.insertAfter(this.$element);
|
||||
|
||||
$container.width($element.width());
|
||||
$container.width($element.outerWidth(false));
|
||||
|
||||
this.selection = new this.options.selectionAdapter($element, this.options);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue