mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
If the module no use mobile, diable mobile tab on design setting
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12058 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6cc97d65c2
commit
6065b95b92
2 changed files with 15 additions and 0 deletions
|
|
@ -85,6 +85,11 @@ jQuery(function($){
|
|||
$('.x .x_tabbable').xeTabbable();
|
||||
$(document.body).on('click', '.x .x_nav-tabs>li>a[href*="#"]', function(){
|
||||
var $this = $(this);
|
||||
|
||||
if($this.parent('li').hasClass('x_disabled')){
|
||||
return false;
|
||||
}
|
||||
|
||||
$this.parent('li').addClass('x_active').siblings().removeClass('x_active');
|
||||
$this.closest('.x_nav-tabs').next('.x_tab-content').find('>.x_tab-pane').eq($this.attr('data-index')-1).addClass('x_active').show().siblings().removeClass('x_active').hide();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue