Revision 2704a359
Added by Amos Benari over 11 years ago
- ID 2704a359d95321e744a45d248c2c76cfddd71e7a
public/javascripts/application.js | ||
---|---|---|
$(".logo, .logo-text").hide();
|
||
return false;
|
||
}
|
||
|
||
$("[id^='menu_tab_']").removeClass('active');
|
||
$('#menu_tab_settings').addClass($('#current_tab').attr('data-settings'));
|
||
$('#menu_tab_'+$('#current_tab').attr('data-controller')).addClass('active').next('.dropdown').addClass('active');
|
||
magic_line("#menu" , 1);
|
||
magic_line("#menu2", 0);
|
||
$('.dropdown-toggle').dropdown();
|
||
... | ... | |
}else{$magicLine.show();}
|
||
if ( $(".active").size() > 0){
|
||
$magicLine
|
||
.width($(id +" .active").width() + $(id + " .active.dropdown").width() * combo)
|
||
.width($(id +" .active").width() + $(id + " .dropdown.active").width() * combo)
|
||
.css("left", $(".active").position().left)
|
||
.data("origLeft", $magicLine.position().left)
|
||
.data("origWidth", $magicLine.width());
|
Also available in: Unified diff
fixed active tab on cached topbar.