2.1.6
This commit is contained in:
parent
8ccb98f6cd
commit
9898a77bd9
2
dist/lay/modules/element.js
vendored
2
dist/lay/modules/element.js
vendored
File diff suppressed because one or more lines are too long
2
dist/layui.all.js
vendored
2
dist/layui.all.js
vendored
File diff suppressed because one or more lines are too long
@ -99,7 +99,7 @@ layui.define('jquery', function(exports){
|
|||||||
var othis = liElem || $(this)
|
var othis = liElem || $(this)
|
||||||
,index = index || othis.parent().children('li').index(othis)
|
,index = index || othis.parent().children('li').index(othis)
|
||||||
,parents = options.headerElem ? othis.parent() : othis.parents('.layui-tab').eq(0)
|
,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')
|
,elemA = othis.find('a')
|
||||||
,filter = parents.attr('lay-filter');
|
,filter = parents.attr('lay-filter');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user