From c5d6f58988de240eb86bb8079413aecd7a9d6455 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 22 Dec 2016 15:01:29 +0100 Subject: another check --- view/theme/redbasic/js/redbasic.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'view/theme/redbasic') 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); -- cgit v1.2.3