Starting to add scripts

This commit is contained in:
2016-12-03 00:23:05 +09:00
parent a45613be84
commit c2d9817ec5
14 changed files with 20 additions and 388 deletions

View File

@ -1,10 +0,0 @@
// Fix Facebook login hash in URL
if(window.location.hash && window.location.hash === '#_=_') {
window.history.pushState('', document.title, window.location.pathname)
}
// Fade out loading animation
document.addEventListener('DOMContentLoaded', function(event) {
$.loadingAnimation.classList.add('fade-out')
$.updateAvatars()
})