Skip to content

Commit

Permalink
feat(tp): remove timer for skip button appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
yong-jie committed Nov 11, 2020
1 parent ae56856 commit e3ce569
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion public/assets/transition-page/styles/transition-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ body {

#skip {
padding-top: 50px;
opacity: 0;
opacity: 1;
display: block;
cursor: pointer;
}
Expand Down
6 changes: 0 additions & 6 deletions src/server/views/redirect.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ function proceedToDestination() {
window.location = document.getElementById('url').getAttribute('data-href')
}

setTimeout(function(){
var skipButton = document.getElementById('skip')
skipButton.style.opacity = '1'
skipButton.style.transition = 'opacity 0.4s'
}, 2000)

var secondsUntilRedirect = 6

function handlePlural() {
Expand Down

0 comments on commit e3ce569

Please sign in to comment.