276:019d9192cf9c
Anton Shestakov <av6@dwimlabs.net>, Sun, 30 Jul 2017 13:37:55 +0800
viewer: remove unnecessary inline style from a block in navbar

next change 277:6777a5c2acad
previous change 274:570f7fb00b52

static/candolint.js

Permissions: -rw-r--r--

Other formats: Feeds:
(function($) {
var humanizeTimestamps = function() {
$('time[datetime]').each(function() {
var $this = $(this);
$this.text(moment($this.attr('datetime')).fromNow());
});
};
humanizeTimestamps();
window.setInterval(humanizeTimestamps, 15 * 1000);
})(jQuery);