remove broken calls to stick_in_parent
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
18ed7eefb6
commit
e4b315568b
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue