Replace tabs with spaces for consistency
This commit is contained in:
parent
117f11da21
commit
5efdc35aeb
@ -41,11 +41,11 @@
|
|||||||
// styles for the event log in the "DOM events" section of the docs
|
// styles for the event log in the "DOM events" section of the docs
|
||||||
.s2-event-log {
|
.s2-event-log {
|
||||||
background: #002451;
|
background: #002451;
|
||||||
color: white;
|
color: white;
|
||||||
font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;
|
font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;
|
||||||
margin: 0 -15px 15px;
|
margin: 0 -15px 15px;
|
||||||
padding: 45px 15px 15px;
|
padding: 45px 15px 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
content: "Event Log";
|
content: "Event Log";
|
||||||
|
6
src/js/select2/core.js
vendored
6
src/js/select2/core.js
vendored
@ -78,8 +78,8 @@ define([
|
|||||||
|
|
||||||
// Hide the original select
|
// Hide the original select
|
||||||
$element.addClass('select2-hidden-accessible');
|
$element.addClass('select2-hidden-accessible');
|
||||||
$element.attr('aria-hidden', 'true');
|
$element.attr('aria-hidden', 'true');
|
||||||
|
|
||||||
// Synchronize any monitored attributes
|
// Synchronize any monitored attributes
|
||||||
this._syncAttributes();
|
this._syncAttributes();
|
||||||
|
|
||||||
@ -491,7 +491,7 @@ define([
|
|||||||
this.$element.attr('tabindex', this.$element.data('old-tabindex'));
|
this.$element.attr('tabindex', this.$element.data('old-tabindex'));
|
||||||
|
|
||||||
this.$element.removeClass('select2-hidden-accessible');
|
this.$element.removeClass('select2-hidden-accessible');
|
||||||
this.$element.attr('aria-hidden', 'false');
|
this.$element.attr('aria-hidden', 'false');
|
||||||
this.$element.removeData('select2');
|
this.$element.removeData('select2');
|
||||||
|
|
||||||
this.dataAdapter.destroy();
|
this.dataAdapter.destroy();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user