2.1.6
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user