Fix conditional logic script error

This commit is contained in:
Champ Camba
2017-07-20 22:41:22 +08:00
parent 2d2a00ad09
commit a420e09549
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -71,7 +71,9 @@ jQuery(document).ready(function() {
jQuery('.um-field[data-key]:visible').each(function(){
var $wrap_dom = jQuery(this);
var me = um_get_field_element( $wrap_dom );
me.trigger('change');
if( typeof me.trigger !== 'undefined' ){
me.trigger('change');
}
});
}
+2 -2
View File
File diff suppressed because one or more lines are too long