diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/php/theme_init.php | 2 | ||||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/view/php/theme_init.php b/view/php/theme_init.php index ff37023cf..a420323ac 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -23,7 +23,7 @@ head_add_js('/library/jquery-textcomplete/jquery.textcomplete.js'); head_add_js('/library/jquery.timeago.js'); head_add_js('/library/readmore.js/readmore.js'); -head_add_js('/library/sticky-kit/sticky-kit.js'); +head_add_js('/library/sticky-kit/sticky-kit.min.js'); head_add_js('/library/jgrowl/jquery.jgrowl_minimized.js'); head_add_js('/library/cryptojs/components/core-min.js'); head_add_js('/library/cryptojs/rollups/aes.js'); 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' }); } |