Prechádzať zdrojové kódy

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

Igor Vaynberg 12 rokov pred
rodič
commit
250447b53a
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  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();
             }));