aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-15 17:28:00 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-15 17:28:00 +0100
commite7a5aa7b9cbe0ff9a3840500c4e7eebf6896dc93 (patch)
tree3d003450d49113145add39bab8d451cabf630d2d /view/theme/redbasic/js/redbasic.js
parentaa33cacb62ef25cbab7c6ee1b253ed58072e6e44 (diff)
downloadvolse-hubzilla-e7a5aa7b9cbe0ff9a3840500c4e7eebf6896dc93.tar.gz
volse-hubzilla-e7a5aa7b9cbe0ff9a3840500c4e7eebf6896dc93.tar.bz2
volse-hubzilla-e7a5aa7b9cbe0ff9a3840500c4e7eebf6896dc93.zip
js fixes
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js17
1 files changed, 3 insertions, 14 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 45d80186d..07412151f 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -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();
else
$('#expand-aside').hide();
@@ -47,26 +47,15 @@ $(document).ready(function() {
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() {
if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){
$('#navbar-collapse-1, #navbar-collapse-2').removeClass('show');
}
});
-
- if($('#tabs-collapse-1').length === 0) {
- $('#expand-tabs').hide();
- }
$("input[data-role=cat-tagsinput]").tagsinput({
- tagClass: 'label label-primary'
+ tagClass: 'badge badge-pill badge-warning'
});
var doctitle = document.title;