This commit is contained in:
BoHung Chiu 2021-05-20 15:37:42 +08:00
parent 8ad7143ec2
commit 21e8111db3
1 changed files with 2 additions and 0 deletions

View File

@ -2516,6 +2516,8 @@ var wpex = {};
linkElements.removeAttr(rm_attr);
linkElements.appendTo($div.find("*").eq(-1));
}else if(max_count != -1){
$(v).removeAttr("data-count_limit");
$(v).removeData("count_limit");
$div.find(window.wpexAnimsition.linkElement).not(":lt("+max_count+")").remove();
$div.find(window.wpexAnimsition.linkElement).removeAttr(rm_attr);
}