From b9c79344cdaf4be6dbb186e825442b6b15e9dc8b Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Tue, 10 Apr 2012 00:42:34 -0700 Subject: [PATCH] hide selected choices from the results by default. issue #1 --- select2.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/select2.css b/select2.css index f17c1883..88c61d73 100755 --- a/select2.css +++ b/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%;