ethstats-server/public/js/script.js

13 lines
429 B
JavaScript
Raw Normal View History

2015-01-20 19:29:31 +01:00
(function() {
2015-02-05 09:27:12 +01:00
$('body').on('mouseenter', '[data-toggle="tooltip"]', function( event ) {
$(this).tooltip('show');
}).on('mouseleave', '[data-toggle="tooltip"]', function( event ) {
$(this).tooltip('hide');
2015-02-18 09:57:45 +01:00
});
moment.relativeTimeTreshold('s', 60);
moment.relativeTimeTreshold('m', 60);
moment.relativeTimeTreshold('h', 24);
moment.relativeTimeTreshold('d', 28);
moment.relativeTimeTreshold('M', 12);
2015-01-20 19:29:31 +01:00
})();