Fix js bug.
This commit is contained in:
parent
d9d22aa397
commit
5b35b816ea
|
@ -2527,7 +2527,7 @@ var wpex = {};
|
||||||
})
|
})
|
||||||
$(v).before($divs.join(""));
|
$(v).before($divs.join(""));
|
||||||
var parents_text = window.wpexAnimsition.container_block.split(',').map(function(t){
|
var parents_text = window.wpexAnimsition.container_block.split(',').map(function(t){
|
||||||
var str_arr = t.split(/>| /);
|
var str_arr = t.trim().split(/>| /);
|
||||||
return ((str_arr.length <= 1) ? "*" : str_arr[0]);
|
return ((str_arr.length <= 1) ? "*" : str_arr[0]);
|
||||||
}).join(",");
|
}).join(",");
|
||||||
var parent_node = $(v).parents(parents_text);
|
var parent_node = $(v).parents(parents_text);
|
||||||
|
|
Loading…
Reference in New Issue