File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -625,13 +625,13 @@ class Blocks extends React.Component {
625
625
exitFunc ( "Custom Modal -- Param 2 must be a object with 'width' and 'height' number properties" ) ;
626
626
}
627
627
if ( isObject ( enterInfo ) ) {
628
- if ( ! scale . name || ! scale . callback ) exitFunc ( "Custom Modal -- Missing width/height number property in Param 3" ) ;
628
+ if ( ! scale . name || ! scale . callback ) exitFunc ( "Custom Modal -- Missing name/callback property in Param 3" ) ;
629
629
if ( scale . callback && typeof scale . callback !== 'function' ) exitFunc ( "Custom Modal -- callback property in Param 3 must be a function" ) ;
630
630
} else {
631
631
exitFunc ( "Custom Modal -- Param 3 must be a object with properties: 'name' (string) and 'callback' (function)" ) ;
632
632
}
633
633
if ( isObject ( closeInfo ) ) {
634
- if ( ! scale . name || ! scale . callback ) exitFunc ( "Custom Modal -- Missing width/height number property in Param 4" ) ;
634
+ if ( ! scale . name || ! scale . callback ) exitFunc ( "Custom Modal -- Missing name/callback property in Param 4" ) ;
635
635
if ( scale . callback && typeof scale . callback !== 'function' ) exitFunc ( "Custom Modal -- callback property in Param 4 must be a function" ) ;
636
636
} else {
637
637
exitFunc ( "Custom Modal -- Param 4 must be a object with properties: 'name' (string) and 'callback' (function)" ) ;
You can’t perform that action at this time.
0 commit comments