File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ Version: @@ver@@ Timestamp: @@timestamp@@
9999}
100100
101101.select2-container .select2-choice abbr {
102- display : inline-block ;
102+ display : none ;
103103 width : 12px ;
104104 height : 12px ;
105105 position : absolute;
@@ -114,6 +114,11 @@ Version: @@ver@@ Timestamp: @@timestamp@@
114114 cursor : pointer;
115115 outline : 0 ;
116116}
117+
118+ .select2-container .select2-allowclear .select2-choice abbr {
119+ display : inline-block;
120+ }
121+
117122.select2-container .select2-choice abbr : hover {
118123 background-position : right -11px ;
119124 cursor : pointer;
Original file line number Diff line number Diff line change @@ -1693,7 +1693,7 @@ the specific language governing permissions and limitations under the Apache Lic
16931693 "class" : "select2-container"
16941694 } ) . html ( [
16951695 "<a href='javascript:void(0)' onclick='return false;' class='select2-choice' tabindex='-1'>" ,
1696- " <span> </span><abbr class='select2-search-choice-close select2-display-none '></abbr>" ,
1696+ " <span> </span><abbr class='select2-search-choice-close'></abbr>" ,
16971697 " <div><b></b></div>" ,
16981698 "</a>" ,
16991699 "<input class='select2-focusser select2-offscreen' type='text'/>" ,
@@ -2005,7 +2005,6 @@ the specific language governing permissions and limitations under the Apache Lic
20052005 this . selection . addClass ( "select2-default" ) ;
20062006
20072007 this . container . removeClass ( "select2-allowclear" ) ;
2008- this . selection . find ( "abbr" ) . hide ( ) ;
20092008 }
20102009 } ,
20112010
@@ -2084,7 +2083,6 @@ the specific language governing permissions and limitations under the Apache Lic
20842083
20852084 if ( this . opts . allowClear && this . getPlaceholder ( ) !== undefined ) {
20862085 this . container . addClass ( "select2-allowclear" ) ;
2087- this . selection . find ( "abbr" ) . show ( ) ;
20882086 }
20892087 } ,
20902088
You can’t perform that action at this time.
0 commit comments