mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-01 14:33:38 +00:00
Prevent strange behavior when pausing while stopped
This commit is contained in:
parent
93dd96ea31
commit
06f15f8e84
1 changed files with 3 additions and 1 deletions
|
|
@ -173,7 +173,9 @@ function Winamp () {
|
|||
this.nodes.pause.onclick = function() {
|
||||
if(self.nodes.winamp.classList.contains('pause')){
|
||||
self.media.play();
|
||||
} else {
|
||||
}
|
||||
else if(self.nodes.winamp.classList.contains('play'))
|
||||
{
|
||||
self.media.pause();
|
||||
self.setStatus('pause');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue