mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
change font/fouc timeouts
This commit is contained in:
parent
c32ee37ca5
commit
5a87a497bb
1 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,7 @@ class RoleypolyApp extends App {
|
|||
loadTypekit (d) {
|
||||
var config = {
|
||||
kitId: 'bck0pci',
|
||||
scriptTimeout: 3000,
|
||||
scriptTimeout: 1500,
|
||||
async: true
|
||||
}
|
||||
const h = d.documentElement
|
||||
|
@ -50,7 +50,7 @@ class RoleypolyApp extends App {
|
|||
waitForFOUC () {
|
||||
setTimeout(() => {
|
||||
document.documentElement.className += ' force-active'//
|
||||
}, 2000)
|
||||
}, 1500)
|
||||
}
|
||||
|
||||
render () {
|
||||
|
@ -58,6 +58,7 @@ class RoleypolyApp extends App {
|
|||
|
||||
return (
|
||||
<Container>
|
||||
<noscript>Hey there. Unfortunately, we require JS for this app to work. Please take this rose as retribution. 🌹</noscript>
|
||||
<Head>
|
||||
<meta charSet='utf-8' />
|
||||
<title key='title'>Roleypoly</title>
|
||||
|
|
Loading…
Add table
Reference in a new issue