Fix tab js bug.
This commit is contained in:
parent
6abc8e9c74
commit
742382ed67
|
@ -2735,7 +2735,7 @@ $.fn.wpexEqualHeights = function (options) {
|
||||||
}
|
}
|
||||||
if($(container_text_arr[i]).parents(window.wpexAnimsition.need_fix_containers).length != 0){
|
if($(container_text_arr[i]).parents(window.wpexAnimsition.need_fix_containers).length != 0){
|
||||||
if(!window.already_changes[i]){
|
if(!window.already_changes[i]){
|
||||||
var $filter = $container.parent().find(window.wpexAnimsition.filter_bar);
|
var $filter = $container.parents(window.wpexAnimsition.parent_block).find(window.wpexAnimsition.filter_bar);
|
||||||
var $filterLinks = $filter.find(window.wpexAnimsition.filter_option);
|
var $filterLinks = $filter.find(window.wpexAnimsition.filter_option);
|
||||||
var $divs = [];
|
var $divs = [];
|
||||||
$filterLinks.each(function (i,v) {
|
$filterLinks.each(function (i,v) {
|
||||||
|
@ -2771,7 +2771,7 @@ $.fn.wpexEqualHeights = function (options) {
|
||||||
$div.attr('id',vv.slice(1));
|
$div.attr('id',vv.slice(1));
|
||||||
rm_attr = 'id';
|
rm_attr = 'id';
|
||||||
}
|
}
|
||||||
var linkElements = $container.parent().find(window.wpexAnimsition.linkElement).filter(vv);
|
var linkElements = $container.parents(window.wpexAnimsition.parent_block).find(window.wpexAnimsition.linkElement).filter(vv);
|
||||||
if(linkElements.length != 0){
|
if(linkElements.length != 0){
|
||||||
var parents_elements = window.wpexAnimsition.linkElement.split(/>| /).slice(0,-1).filter(function(v){return v!=""});
|
var parents_elements = window.wpexAnimsition.linkElement.split(/>| /).slice(0,-1).filter(function(v){return v!=""});
|
||||||
parents_elements = parents_elements.reverse();
|
parents_elements = parents_elements.reverse();
|
||||||
|
@ -2854,7 +2854,7 @@ $.fn.wpexEqualHeights = function (options) {
|
||||||
var activeItems;
|
var activeItems;
|
||||||
|
|
||||||
// Filter links
|
// Filter links
|
||||||
var $filter = $container.parent().find(window.wpexAnimsition.filter_bar);
|
var $filter = $container.parents(window.wpexAnimsition.parent_block).find(window.wpexAnimsition.filter_bar);
|
||||||
if ($filter.length) {
|
if ($filter.length) {
|
||||||
var $filterLinks = $filter.find(window.wpexAnimsition.filter_option);
|
var $filterLinks = $filter.find(window.wpexAnimsition.filter_option);
|
||||||
activeItems = '';
|
activeItems = '';
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue