From: rwldrn Date: Thu, 23 Jun 2011 18:50:23 +0000 (-0400) Subject: [#582] Merge original options object with modified object X-Git-Tag: v0.7^2~15^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a18600257b017c23d0c3fcfa820d006ebd5a5617;p=popcorn-js.git [#582] Merge original options object with modified object --- diff --git a/popcorn.js b/popcorn.js index 507edbc..7768d1a 100644 --- a/popcorn.js +++ b/popcorn.js @@ -1047,7 +1047,7 @@ options._natives._setup && options._natives._setup.call( this, mergedSetupOpts ); // Create new track event for this instance - Popcorn.addTrackEvent( this, options ); + Popcorn.addTrackEvent( this, Popcorn.extend( mergedSetupOpts, options ) ); // Future support for plugin event definitions // for all of the native events