ui-kit-ck-consultant 0.5.310 → 0.5.312

Sign up to get free protection for your applications and to get access to all the features.
package/css/style.css CHANGED
@@ -217,7 +217,6 @@ html {
217
217
  }
218
218
 
219
219
  a {
220
- display: block;
221
220
  font-weight: bold;
222
221
  text-align: center;
223
222
  cursor: pointer;
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
104
104
  if (e.target === e.currentTarget && !this.props.disableClose) {
105
105
  if (this.props.closeMessage) {
106
106
  if (window.confirmCustom) {
107
- window.confirmCustom(this.props.closeMessage, function () {
107
+ window.confirmCustom(this.props.closeMessage, function (result) {
108
108
  if (result) {
109
109
  _this2.props.onClose();
110
110
  }
@@ -166,7 +166,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
166
166
  onClick: function onClick() {
167
167
  if (_this3.props.closeMessage) {
168
168
  if (window.confirmCustom) {
169
- window.confirmCustom(_this3.props.closeMessage, function () {
169
+ window.confirmCustom(_this3.props.closeMessage, function (result) {
170
170
  if (result) {
171
171
  _this3.props.onClose();
172
172
  }