mirror of https://github.com/layui/layui
2.1.6
parent
8ccb98f6cd
commit
9898a77bd9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -99,7 +99,7 @@ layui.define('jquery', function(exports){
|
|||
var othis = liElem || $(this)
|
||||
,index = index || othis.parent().children('li').index(othis)
|
||||
,parents = options.headerElem ? othis.parent() : othis.parents('.layui-tab').eq(0)
|
||||
,item = $(options.bodyElem) || parents.children('.layui-tab-content').children('.layui-tab-item')
|
||||
,item = options.bodyElem ? $(options.bodyElem) : parents.children('.layui-tab-content').children('.layui-tab-item')
|
||||
,elemA = othis.find('a')
|
||||
,filter = parents.attr('lay-filter');
|
||||
|
||||
|
|
Loading…
Reference in New Issue