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 +0 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/css/style.css
CHANGED
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
|
}
|