mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-26 04:29:11 +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) {
|
loadTypekit (d) {
|
||||||
var config = {
|
var config = {
|
||||||
kitId: 'bck0pci',
|
kitId: 'bck0pci',
|
||||||
scriptTimeout: 3000,
|
scriptTimeout: 1500,
|
||||||
async: true
|
async: true
|
||||||
}
|
}
|
||||||
const h = d.documentElement
|
const h = d.documentElement
|
||||||
|
@ -50,7 +50,7 @@ class RoleypolyApp extends App {
|
||||||
waitForFOUC () {
|
waitForFOUC () {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.documentElement.className += ' force-active'//
|
document.documentElement.className += ' force-active'//
|
||||||
}, 2000)
|
}, 1500)
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
@ -58,6 +58,7 @@ class RoleypolyApp extends App {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container>
|
<Container>
|
||||||
|
<noscript>Hey there. Unfortunately, we require JS for this app to work. Please take this rose as retribution. 🌹</noscript>
|
||||||
<Head>
|
<Head>
|
||||||
<meta charSet='utf-8' />
|
<meta charSet='utf-8' />
|
||||||
<title key='title'>Roleypoly</title>
|
<title key='title'>Roleypoly</title>
|
||||||
|
|
Loading…
Add table
Reference in a new issue