diff options
Diffstat (limited to 'src/library_sdl.js')
-rw-r--r-- | src/library_sdl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index 113ce165..a23a9d21 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -917,7 +917,7 @@ var LibrarySDL = { var info = SDL.channels[channel]; info.audio = audio.cloneNode(true); if (SDL.channelFinished) { - info.audio.onended = function() { // TODO: cache these + info.audio['onended'] = function() { // TODO: cache these Browser.getAsyncCall(SDL.channelFinished)(channel); } } |