mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Formatted metadata
Add API for metadata Load more images if page is resized Adjusted animations
This commit is contained in:
parent
651fd8aa49
commit
da1579555b
9 changed files with 742 additions and 86 deletions
|
@ -20,14 +20,13 @@ document.querySelector('.jumpUp').onclick = function() {
|
|||
|
||||
function imgFade(obj) {
|
||||
$(obj).animate({opacity: 1}, 500);
|
||||
//$(obj).parent().style.backgroundColor = 'transparent';
|
||||
}
|
||||
|
||||
var times = document.getElementsByClassName('time');
|
||||
for (var i = 0; i < times.length; i++) {
|
||||
var time = times[i].innerHTML;
|
||||
var date = new Date(time);
|
||||
times[i].innerHTML = date.toLocaleString( 'en-GB', { timeZone: 'UTC' } );
|
||||
times[i].innerHTML = date.toLocaleString('en-GB');
|
||||
}
|
||||
|
||||
function addNotification(text='Sample notification', type=4) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue