|
|
@ -181,11 +181,13 @@
|
|
|
|
showLoading: ->
|
|
|
|
showLoading: ->
|
|
|
|
document.body.classList.remove '_noscript'
|
|
|
|
document.body.classList.remove '_noscript'
|
|
|
|
document.body.classList.add '_loading'
|
|
|
|
document.body.classList.add '_loading'
|
|
|
|
|
|
|
|
document.body.insertAdjacentHTML 'beforeend', '<div id="fontLoader" aria-hidden="true" style="position: absolute; top: 0; height: 0; overflow: hidden; visibility: hidden;"><b>Preload</b> <em>all <b>fonts</b></em></div>' # Chrome
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
hideLoading: ->
|
|
|
|
hideLoading: ->
|
|
|
|
document.body.classList.remove '_booting'
|
|
|
|
document.body.classList.remove '_booting'
|
|
|
|
document.body.classList.remove '_loading'
|
|
|
|
document.body.classList.remove '_loading'
|
|
|
|
|
|
|
|
$.remove document.getElementById('fontLoader')
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
indexHost: ->
|
|
|
|
indexHost: ->
|
|
|
|