Skip to content

Commit

Permalink
Formatting tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfire committed Aug 18, 2017
1 parent 888f8ac commit 908c2ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/howler.core.js
Expand Up @@ -1367,10 +1367,8 @@
var index = ids.indexOf(args[0]);
if (index >= 0) {
id = parseInt(args[0], 10);
} else {
if (self._sounds.length > 0) {
id = self._sounds[0]._id;
}
} else if (self._sounds.length) {
id = self._sounds[0]._id;
seek = parseFloat(args[0]);
}
} else if (args.length === 2) {
Expand Down

0 comments on commit 908c2ba

Please sign in to comment.