change link timeout

This commit is contained in:
rlx 2018-01-12 15:09:20 +01:00
parent 9c6cc183f5
commit 038c4aa409

8
icf.js
View file

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