iov-design 2.15.56 → 2.15.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/input.js CHANGED
@@ -951,9 +951,13 @@ var shared_ = __webpack_require__(21);
951
951
  var isButton = pendantEl.querySelector('.el-button');
952
952
  if (isSelect) {
953
953
  Object(dom_["addClass"])(pendantEl, 'is-select');
954
+ } else {
955
+ Object(dom_["removeClass"])(pendantEl, 'is-select');
954
956
  }
955
957
  if (isButton) {
956
958
  Object(dom_["addClass"])(pendantEl, 'is-button');
959
+ } else {
960
+ Object(dom_["removeClass"])(pendantEl, 'is-button');
957
961
  }
958
962
  },
959
963
  calcIconOffset: function calcIconOffset(place) {