Browse Source

hide selected choices from the results by default. issue #1

Igor Vaynberg 13 years ago
parent
commit
b9c79344cd
1 changed files with 6 additions and 1 deletions
  1. 6 1
      select2.css

+ 6 - 1
select2.css

@@ -252,6 +252,8 @@
   display: list-item;
 }
 
+/*
+disabled look for already selected choices in the results dropdown
 .select2-container .select2-results .select2-disabled.select2-highlighted {
     color: #666;
     background: #f4f4f4;
@@ -263,7 +265,10 @@
   display: list-item;
   cursor: default;
 }
-
+*/
+.select2-container .select2-results .select2-disabled {
+    display: none;
+}
 
 .select2-more-results.select2-active {
     background: #f4f4f4 url('spinner.gif') no-repeat 100%;