aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-12-22 15:01:29 +0100
committerMario Vavti <mario@mariovavti.com>2016-12-22 15:01:29 +0100
commitc5d6f58988de240eb86bb8079413aecd7a9d6455 (patch)
treec0b1811f4595bd69fd9dfead72143f88673e5303 /view/theme/redbasic
parent6cb527a9375fa1697470cc11d2ba6ccf1acae886 (diff)
downloadvolse-hubzilla-c5d6f58988de240eb86bb8079413aecd7a9d6455.tar.gz
volse-hubzilla-c5d6f58988de240eb86bb8079413aecd7a9d6455.tar.bz2
volse-hubzilla-c5d6f58988de240eb86bb8079413aecd7a9d6455.zip
another check
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r--view/theme/redbasic/js/redbasic.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index f97467947..e31458b4e 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -16,9 +16,11 @@ $(document).ready(function() {
}
$('#css3-calc').remove(); // Remove the test element
- $('#left_aside_wrapper').stick_in_parent({
- offset_top: $('nav').outerHeight(true)
- });
+ if($(window).width() > 767) {
+ $('#left_aside_wrapper').stick_in_parent({
+ offset_top: $('nav').outerHeight(true)
+ });
+ }
$('#expand-aside').on('click', toggleAside);