1
0
mirror of synced 2024-11-25 14:26:03 +03:00

Merge pull request #2726 from KayLeung/patch-1

Fixes results count in accessible text
This commit is contained in:
Kevin Brown 2014-10-16 17:41:22 -04:00
commit 5a184921b6

View File

@ -1714,7 +1714,7 @@ the specific language governing permissions and limitations under the Apache Lic
self.liveRegion.text(results.text()); self.liveRegion.text(results.text());
} }
else { else {
self.liveRegion.text(self.opts.formatMatches(results.find('.select2-result-selectable').length)); self.liveRegion.text(self.opts.formatMatches(results.find('.select2-result-selectable:not(".select2-selected")').length));
} }
} }