Skip to content
Permalink
Browse files

Avoid using jQuery for fancy dates

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 13, 2018
1 parent 8700c34 commit faafa06195de52f59002e40533d797234975c6c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/data/themes/base/assets/js/fancydates.js
@@ -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;

0 comments on commit faafa06

Please sign in to comment.
You can’t perform that action at this time.