change link timeout

This commit is contained in:
rlx 2018-01-12 15:09:20 +01:00
parent 9c6cc183f5
commit 038c4aa409
1 changed files with 2 additions and 6 deletions

8
icf.js
View File

@ -125,11 +125,7 @@ function mod(a, b) {
function play() {
if (speed <= 0 && acceleration < 0) {
paused = true
setTimeout(function() {
if (!timelineLinkEntered) {
timelineLink.style.display = 'none'
}
}, 250)
timelineLink.style.display = 'none'
return
}
position += speed / fpsAnimation
@ -224,7 +220,7 @@ loadText(function() {
if (paused) {
timelineLink.style.display = 'none'
}
}, 250)
}, 1000)
})
})
})