Update timeline.js

pull/547/head
Daniel Supernault 6 years ago
parent 6eaafb99dc
commit 9c1dbbe9b1
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save