- minified scripts;

This commit is contained in:
nikitasinelnikov
2019-11-05 16:44:59 +02:00
parent 06d4396745
commit e01dbfe0a9
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -204,18 +204,18 @@ function um_in_array(needle, haystack, strict){
* @param object $dom
* @param boolean is_single_update
*/
function um_apply_conditions($dom, is_single_update) {
function um_apply_conditions( $dom, is_single_update ) {
var operators = ['empty', 'not empty', 'equals to', 'not equals', 'greater than', 'less than', 'contains'];
if (!$dom.parents('.um-field[data-key]').length) {
if ( ! $dom.parents('.um-field[data-key]').length ) {
return;
}
var key = $dom.parents('.um-field[data-key]').data('key');
var conditions = um_field_conditions[key];
if (typeof (conditions) === 'undefined') {
var conditions = um_field_conditions[ key ];
if ( typeof conditions === 'undefined' ) {
return;
}
var live_field_value = um_get_field_data($dom);
var live_field_value = um_get_field_data( $dom );
var $owners = {};
var $owners_values = {};
+1 -1
View File
File diff suppressed because one or more lines are too long