Browse Source

Merge pull request #3492 from pquentin/master

Replace tabs with spaces for consistency
Kevin Brown 10 năm trước cách đây
mục cha
commit
6a08076c18

+ 2 - 2
docs/_sass/_examples.scss

@@ -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";

+ 3 - 3
src/js/select2/core.js

@@ -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();