Issue #29 fix. This is olingern's solution (PR #34) using pure JS.
This commit is contained in:
Lomanic 2014-11-13 19:46:29 +01:00
parent ed43cebe6c
commit 25afe437d1

View file

@ -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');
}