From: rwldrn Date: Thu, 2 Jun 2011 15:30:25 +0000 (-0400) Subject: Restores Popcorn.getTrackEvent() X-Git-Tag: v0.7^2~53^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d74937284462c68d1972f2614bc4cb656613d0f8;p=popcorn-js.git Restores Popcorn.getTrackEvent() --- diff --git a/popcorn.js b/popcorn.js index 7e4ef9c..6775237 100644 --- a/popcorn.js +++ b/popcorn.js @@ -758,7 +758,7 @@ // Return a single track event bound to this instance object Popcorn.getTrackEvent = function( obj, trackId ) { - return obj.data.trackRefs[ trackId ] || null; + return obj.data.trackRefs[ trackId ]; }; // Internal Only - Returns an instance object's track reference by track id