Fixed small error in music player track selection
This commit is contained in:
parent
192d0d024f
commit
5c637f242d
@ -43,6 +43,9 @@ function changeAudioSources(trackElem) {
|
|||||||
|
|
||||||
// loop through the audio player source elements
|
// loop through the audio player source elements
|
||||||
playerSources.each(function(source) {
|
playerSources.each(function(source) {
|
||||||
|
// jQuery-ize the element
|
||||||
|
source = $(source);
|
||||||
|
|
||||||
if (source.attr('type') == 'audio/ogg') {
|
if (source.attr('type') == 'audio/ogg') {
|
||||||
// OGG source file
|
// OGG source file
|
||||||
source.attr('src', audioFilePath + '.ogg');
|
source.attr('src', audioFilePath + '.ogg');
|
||||||
|
Loading…
Reference in New Issue
Block a user