Permalink
Browse files

api volume fixes

  • Loading branch information...
1 parent ff3f944 commit 137a86a695eee6ab5eebdb835b9bb39ccfc34f98 Johnny Ray committed Mar 21, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 js/jquery.swaggplayer.js
  2. +1 −1 js/jquery.swaggplayer.min.js
View
@@ -1248,7 +1248,7 @@
// Increases the volume of the specified song
volume : function(track, flag) {
- var sound_id = me._html.player + '-song-' + track,
+ var sound_id = this._html.player + '-song-' + track,
sound = soundManager.getSoundById(sound_id),
curr_vol = sound.volume;
@@ -1257,7 +1257,7 @@
soundManager.setVolume(sound_id, curr_vol + this._data.vol_interval);
}
else if (flag === 0) {
- self._logger.debug('decreasing volume');
+ this._logger.debug('decreasing volume');
soundManager.setVolume(sound_id, curr_vol - this._data.vol_interval);
}
else {
Oops, something went wrong.

0 comments on commit 137a86a

Please sign in to comment.