Merge pull request #2364 from joshuajonah/master
Stopped refresh to top when `closeOnSelect: false`
This commit is contained in:
commit
dd323687f3
@ -3155,7 +3155,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
}
|
||||
});
|
||||
|
||||
if (this.highlight() == -1 && noHighlightUpdate !== false){
|
||||
if (this.highlight() == -1 && noHighlightUpdate !== false && this.opts.closeOnSelect === true){
|
||||
self.highlight(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user