aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-19 17:41:13 -0700
committerzotlabs <mike@macgirvin.com>2017-09-19 17:41:13 -0700
commit373af6d4f4afe8599f45764d5b289f714b84f630 (patch)
tree525462ecbe1dcfa96ada6c170a6ebf9a312d2281 /view/theme/redbasic/js/redbasic.js
parent72a19a14aff7a13a8c1fb10e773784643f68d234 (diff)
parenta7d0c45606042dbf1c60019c508cfe6939b85f4b (diff)
downloadvolse-hubzilla-373af6d4f4afe8599f45764d5b289f714b84f630.tar.gz
volse-hubzilla-373af6d4f4afe8599f45764d5b289f714b84f630.tar.bz2
volse-hubzilla-373af6d4f4afe8599f45764d5b289f714b84f630.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 5a586b9f9..b36e35ccc 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -16,12 +16,10 @@ $(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,
- parent: '#region_1',
+ offset_top: parseInt($('#region_1').css('padding-top')),
+ parent: 'main',
spacer: '#left_aside_spacer'
});
}