Skip to content

Commit

Permalink
fixed button
Browse files Browse the repository at this point in the history
  • Loading branch information
sagangwee committed Oct 11, 2015
1 parent fdf2320 commit 582f43e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ button {
margin: auto;
text-align: center;
border: 0px;
transition: all 0.4s ease 0.1s;
opacity: 1;
transition: all 0.2s ease 0.1s;
cursor: pointer;
outline: none;
}
Expand All @@ -105,7 +105,7 @@ button:hover {
margin: auto;
text-align: center;
border: 0px;
transition: all 0.4s ease 0.1s;
transition: all 0.2s ease 0.1s;
opacity: 0.6;
}

Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
function start() {
if (audio.paused) {
audio.play();
startbtn.innerHTML = "<button type="button">Stop</button>";
startbtn.innerHTML = '<button type="button">Stop</button>';
} else {
audio.pause();
startbtn.innerHTML = "<button type="button">Start</button>";
startbtn.innerHTML = '<button type="button">Start</button>';
}

}
Expand Down

0 comments on commit 582f43e

Please sign in to comment.