Navigation Menu

Skip to content

Commit

Permalink
Avoid using jQuery for fancy dates
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 13, 2018
1 parent 8700c34 commit faafa06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/data/themes/base/assets/js/fancydates.js
Expand Up @@ -3,7 +3,7 @@ function fancydates(fanciness, date_format) {
return;
}

dates = $('time.published.dt-published');
dates = document.getElementsByClassName('dt-published');

i = 0;
l = dates.length;
Expand Down

0 comments on commit faafa06

Please sign in to comment.