Browse Source

Clicking the clear button raised the changed event twice. fixes #867

Igor Vaynberg 12 năm trước cách đây
mục cha
commit
250447b53a
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      select2.js

+ 0 - 1
select2.js

@@ -1707,7 +1707,6 @@ the specific language governing permissions and limitations under the Apache Lic
                 this.clear();
                 killEventImmediately(e);
                 this.close();
-                this.triggerChange();
                 this.selection.focus();
             }));