remove broken calls to stick_in_parent

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-03-20 13:52:15 +01:00 committed by Jakub
parent 18ed7eefb6
commit e4b315568b
1 changed files with 0 additions and 7 deletions

View File

@ -113,10 +113,6 @@ $(document).ready(function ($) {
retrieveAdvocacyPrograms();
}
$('.sidebar').stick_in_parent({
offset_top: 30
});
if ($('input[name="userSearch"]').length) {
window.addEventListener('click', function (e) {
if (document.getElementById('search-form').contains(e.target)) {
@ -309,9 +305,6 @@ $(document).ready(function ($) {
var title = $(this).text();
$('.right-sub-navigation ul').append('<li class="li-' + $(this)[0].nodeName.toLowerCase() + '"><a href="#' + id + '">' + title + '</a></li>');
});
$('.right-sub-navigation').stick_in_parent({
offset_top: 30
});
$('.right-sub-navigation a').on('click', function () {
var id = $(this).attr('href');
$('html, body').animate({