Fixed error where sharelinks messed up navigation

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-12 12:33:06 +01:00
parent dc40b7c5b3
commit dab1b5ef0c
6 changed files with 13 additions and 8 deletions

View File

@@ -282,5 +282,13 @@ var List = {
}
});
return indexes[0];
},
scrollTop: function(){
$("#wrapper").scrollTop(0);
},
scrollBottom: function(){
$("#wrapper").scrollTop($("#wrapper")[0].scrollHeight);
}
}