We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de35948 commit b088c3bCopy full SHA for b088c3b
assets/javascripts/app/app.coffee
@@ -181,11 +181,13 @@
181
showLoading: ->
182
document.body.classList.remove '_noscript'
183
document.body.classList.add '_loading'
184
+ 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
185
return
186
187
hideLoading: ->
188
document.body.classList.remove '_booting'
189
document.body.classList.remove '_loading'
190
+ $.remove document.getElementById('fontLoader')
191
192
193
indexHost: ->
0 commit comments