Browse Source

fix incorrect reference. fixes #1530

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

+ 1 - 1
select2.js

@@ -2978,7 +2978,7 @@ the specific language governing permissions and limitations under the Apache Lic
                     self.updateSelection(data);
                     self.clearSearch();
                     if (triggerChange) {
-                        self.triggerChange(this.buildChangeDetails(oldData, this.data()));
+                        self.triggerChange(self.buildChangeDetails(oldData, this.data()));
                     }
                 });
             }