Ver código fonte

do not take over mouseup event in dropdown. fixes #857

Igor Vaynberg 12 anos atrás
pai
commit
179ba17174
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0 3
      select2.js

+ 0 - 3
select2.js

@@ -657,10 +657,7 @@ the specific language governing permissions and limitations under the Apache Lic
                 if ($(e.target).closest(".select2-result-selectable").length > 0) {
                     this.highlightUnderEvent(e);
                     this.selectHighlighted(e);
-                } else {
-                    this.focusSearch();
                 }
-                killEvent(e);
             }));
 
             // trap all mouse events from leaving the dropdown. sometimes there may be a modal that is listening