Explorar o código

fix #1391 make tabbing out work when no results message is shown

Igor Vaynberg %!s(int64=12) %!d(string=hai) anos
pai
achega
455067ed4e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      select2.js

+ 2 - 0
select2.js

@@ -1651,6 +1651,8 @@ the specific language governing permissions and limitations under the Apache Lic
             if (data) {
                 this.highlight(index);
                 this.onSelect(data, options);
+            } else if (options.noFocus) {
+                this.close();
             }
         },