This commit is contained in:
Mario Vavti 2017-03-15 17:28:00 +01:00
parent aa33cacb62
commit e7a5aa7b9c
2 changed files with 4 additions and 15 deletions

View File

@ -1850,7 +1850,7 @@ dl.bb-dl > dd > li {
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
text-decoration: inherit; text-decoration: inherit;
content:"\f069"; content:"\f069 ";
} }
/* Modified original CSS to match input in Redbasic */ /* Modified original CSS to match input in Redbasic */

View File

@ -26,7 +26,7 @@ $(document).ready(function() {
}); });
} }
if($('#region_1 .widget').length > 0) if(($(window).width() < 767) && ($('#left_aside_wrapper .widget').length > 0))
$('#expand-aside').show(); $('#expand-aside').show();
else else
$('#expand-aside').hide(); $('#expand-aside').hide();
@ -47,26 +47,15 @@ $(document).ready(function() {
left_aside_height = $('#left_aside_wrapper').height(); left_aside_height = $('#left_aside_wrapper').height();
} }
}); });
/*
$('#expand-tabs').click(function() {
if($('#tabs-collapse-1').hasClass('show')){
$('#tabs-collapse-1').removeClass('show');
}
$('#expand-tabs-icon').toggleClass('fa-arrow-circle-down').toggleClass('fa-arrow-circle-up');
});
*/
$('.usermenu').click(function() { $('.usermenu').click(function() {
if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){ if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-1, #navbar-collapse-2').removeClass('show'); $('#navbar-collapse-1, #navbar-collapse-2').removeClass('show');
} }
}); });
if($('#tabs-collapse-1').length === 0) {
$('#expand-tabs').hide();
}
$("input[data-role=cat-tagsinput]").tagsinput({ $("input[data-role=cat-tagsinput]").tagsinput({
tagClass: 'label label-primary' tagClass: 'badge badge-pill badge-warning'
}); });
var doctitle = document.title; var doctitle = document.title;