Skip to content

Commit 8452803

Browse files
committed
update readme
1 parent 127f9c4 commit 8452803

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Like vanilla `<select>` we can also generate option group with any property in a
104104

105105
##How to Contribute
106106

107-
This project is built by Grunt, fork this project. and clone to your local repository. Run `npm install`, `bower install` to install all development dependencies.
107+
This project is built by Grunt, fork this project. and clone to your local repository. Run `yarn install` to install all development dependencies.
108108

109109
Source files are separated to several files. Run `grunt build` will do some karma unit test and combine these files to one single file and compress the js and css files.
110110

docs/dist/js/nya-bs-select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @lordfriend/nya-bootstrap-select v2.1.10
2+
* @lordfriend/nya-bootstrap-select v2.2.0
33
* Copyright 2014 Nyasoft
44
* Licensed under MIT license
55
*/
@@ -1162,7 +1162,7 @@ nyaBsSelect.directive('nyaBsSelect', ['$parse', '$document', '$timeout', '$compi
11621162

11631163
for (var i = 0; i < liElements.length; i++) {
11641164
var nyaBsOption = jqLite(liElements[i]);
1165-
if (nyaBsOption.hasClass('disabled'))
1165+
if (nyaBsOption.hasClass('disabled') || nyaBsOption.hasClass('not-match'))
11661166
continue;
11671167

11681168
var value, index;

0 commit comments

Comments
 (0)