Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Update main.js

Cette révision appartient à :
akuma06 2017-05-18 02:51:53 +02:00 révisé par GitHub
Parent 4a52a1f3e3
révision 54cd4f2217

Voir le fichier

@ -38,8 +38,7 @@ $(".date-comments").each(function(index, el) {
$(this).attr("title", el.innerText);
$(this).text(new Date($(this).attr("title")).toLocaleDateString(lang, { year: "numeric", month: "short", day: "numeric"}) + " ");
$(this).append($('<span class="hidden-xs"></span>').text(new Date($(this).attr("title")).toLocaleTimeString(lang, { hour:"numeric", minute:"numeric" })))
}
);
});
/*Fixed-Navbar offset fix*/
window.onload = function() {
var shiftWindow = function() { scrollBy(0, -70) };