mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
commit
eb45e7f08a
1 changed files with 3 additions and 0 deletions
|
|
@ -138,6 +138,9 @@ function Winamp () {
|
|||
}
|
||||
|
||||
this.nodes.play.onclick = function() {
|
||||
if(self.nodes.winamp.classList.contains('play')){
|
||||
self.media.stop();
|
||||
}
|
||||
self.media.play();
|
||||
self.setStatus('play');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue