diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-15 16:42:55 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-15 16:42:55 +0100 |
commit | aa33cacb62ef25cbab7c6ee1b253ed58072e6e44 (patch) | |
tree | cc9ef82c2026e109f288884c9e36efc15f3c8dab /view/theme/redbasic/js/redbasic.js | |
parent | 0c74c79b18d77e4ca9032e92a652e51932f40aa4 (diff) | |
download | volse-hubzilla-aa33cacb62ef25cbab7c6ee1b253ed58072e6e44.tar.gz volse-hubzilla-aa33cacb62ef25cbab7c6ee1b253ed58072e6e44.tar.bz2 volse-hubzilla-aa33cacb62ef25cbab7c6ee1b253ed58072e6e44.zip |
style hashtags, mentions and categories. hide expand-aside button if not needed. css and class fixes
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 4686e93db..45d80186d 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -16,6 +16,8 @@ $(document).ready(function() { } $('#css3-calc').remove(); // Remove the test element + + if($(window).width() > 767) { $('#left_aside_wrapper').stick_in_parent({ offset_top: $('nav').outerHeight(true) + 10, @@ -24,6 +26,11 @@ $(document).ready(function() { }); } + if($('#region_1 .widget').length > 0) + $('#expand-aside').show(); + else + $('#expand-aside').hide(); + $('#expand-aside').on('click', toggleAside); $('section').on('click', function() { |