aboutsummaryrefslogtreecommitdiffstats
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:57 +0100
commitd7f65ca125ee6020928a48220055f637d8ca5000 (patch)
treea903c1bbc25c01ac5dc52d7166eae05a5bd7ed77
parenta7a3ce72456b7c1ca1838bd59075e2a656459b81 (diff)
downloadvolse-hubzilla-d7f65ca125ee6020928a48220055f637d8ca5000.tar.gz
volse-hubzilla-d7f65ca125ee6020928a48220055f637d8ca5000.tar.bz2
volse-hubzilla-d7f65ca125ee6020928a48220055f637d8ca5000.zip
another check
-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);