mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 16:24:29 +00:00
Update timeline.js
This commit is contained in:
parent
6eaafb99dc
commit
9c1dbbe9b1
1 changed files with 2 additions and 0 deletions
2
resources/assets/js/timeline.js
vendored
2
resources/assets/js/timeline.js
vendored
|
@ -2,6 +2,8 @@ $(document).ready(function() {
|
|||
$('.pagination').hide();
|
||||
$('.container.timeline-container').removeClass('d-none');
|
||||
let elem = document.querySelector('.timeline-feed');
|
||||
let type = elem.getAttribute('data-timeline');
|
||||
$('.timeline-sidenav .nav-link[data-type="'+type+'"]').addClass('active');
|
||||
pixelfed.fetchLikes();
|
||||
$('video').on('play', function() {
|
||||
activated = this;
|
||||
|
|
Loading…
Reference in a new issue