Fix bug.
This commit is contained in:
parent
8ad7143ec2
commit
21e8111db3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue