Permalink
Browse files

fix setVolume in the HTML5 audio mode

  • Loading branch information...
1 parent f653d4f commit 7a7aaf0d27f2a9d8693cc31e9e988de69a8a0bdb Matas Petrikas committed Feb 1, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 js/sc-player.js
View
@@ -158,9 +158,7 @@
return player.currentTime * 1000;
},
setVolume: function(val) {
- if(a){
- a.volume = val / 100;
- }
+ player.volume = val / 100;
}
};

0 comments on commit 7a7aaf0

Please sign in to comment.