Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Commit

Permalink
Background Animation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmh-only committed Jun 22, 2019
1 parent f40cf38 commit aa09c0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions javascript/PMH/electron/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ <h1 class="demo">Proj-Filtering</h1>
document.getElementsByClassName('container')[0].style.backgroundColor = '#df6363'
document.getElementById('input').value = ''
setTimeout(() => {
document.getElementsByClassName('container')[0].style.backgroundColor = '#252736'
document.getElementsByClassName('container')[0].style.backgroundColor = '#ffffff00'
document.getElementById('btn').disabled = false
document.getElementById('input').disabled = false
}, 1000)
} else {
document.getElementsByClassName('container')[0].style.backgroundColor = '#59FF9E'
document.getElementById('input').value = ''
setTimeout(() => {
document.getElementsByClassName('container')[0].style.backgroundColor = '#252736'
document.getElementsByClassName('container')[0].style.backgroundColor = '#ffffff00'
document.getElementById('btn').disabled = false
document.getElementById('input').disabled = false
}, 1000)
Expand Down
4 changes: 2 additions & 2 deletions javascript/PMH/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ <h1 class="demo">Proj-Filtering</h1>
document.getElementsByClassName('container')[0].style.backgroundColor = '#df6363'
document.getElementById('input').value = ''
setTimeout(() => {
document.getElementsByClassName('container')[0].style.backgroundColor = '#252736'
document.getElementsByClassName('container')[0].style.backgroundColor = '#ffffff00'
document.getElementById('btn').disabled = false
document.getElementById('input').disabled = false
}, 1000)
} else {
document.getElementsByClassName('container')[0].style.backgroundColor = '#59FF9E'
document.getElementById('input').value = ''
setTimeout(() => {
document.getElementsByClassName('container')[0].style.backgroundColor = '#252736'
document.getElementsByClassName('container')[0].style.backgroundColor = '#ffffff00'
document.getElementById('btn').disabled = false
document.getElementById('input').disabled = false
}, 1000)
Expand Down

0 comments on commit aa09c0a

Please sign in to comment.