2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-07 07:12:23 +03:00

Refactoring for pull request #703

This commit is contained in:
Marek Meyer
2018-11-19 11:59:10 +01:00
parent cacacfc5a8
commit ba4462a514
+2 -3
View File
@@ -969,7 +969,6 @@
* @return {void}
*/
onSearchBlur() {
if (this.mousedown && !this.searching) {
this.mousedown = false
} else {
@@ -977,13 +976,13 @@
this.search = ''
}
this.closeSearchOptions()
return
}
// Fixed bug where no-options message could not be closed
if(this.search.length === 0 && this.options.length === 0){
this.closeSearchOptions()
return
}
},
/**