Fix js bug.

This commit is contained in:
BoHung Chiu 2021-10-04 17:15:08 +08:00
parent d9d22aa397
commit 5b35b816ea
1 changed files with 1 additions and 1 deletions

View File

@ -2527,7 +2527,7 @@ var wpex = {};
})
$(v).before($divs.join(""));
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]);
}).join(",");
var parent_node = $(v).parents(parents_text);