Browse Source

chore: 整理代码

es6
guy 3 years ago
parent
commit
8e3ff9347d
  1. 4
      src/base/combination/combo.js

4
src/base/combination/combo.js

@ -142,7 +142,9 @@
this.element.removeClass(this.options.comboClass); this.element.removeClass(this.options.comboClass);
delete needHideWhenAnotherComboOpen[this.getName()]; delete needHideWhenAnotherComboOpen[this.getName()];
currentOpenedCombo = null; if (currentOpenedCombo === this) {
currentOpenedCombo = null;
}
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName()).unbind("mousewheel." + this.getName()); BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName()).unbind("mousewheel." + this.getName());
BI.EVENT_BLUR && o.hideWhenBlur && BI.Widget._renderEngine.createElement(window).unbind("blur." + this.getName()); BI.EVENT_BLUR && o.hideWhenBlur && BI.Widget._renderEngine.createElement(window).unbind("blur." + this.getName());

Loading…
Cancel
Save