From: Anna Sobiepanek Date: Fri, 24 Dec 2010 22:38:51 +0000 (-0500) Subject: added fix for options parameter [#241] X-Git-Tag: v0.2~22^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=22afc1bc894a7293d4c02e7b415f21ae1f1f1285;p=popcorn-js.git added fix for options parameter [#241] --- diff --git a/popcorn.js b/popcorn.js index 63714c9..5dc3ad0 100644 --- a/popcorn.js +++ b/popcorn.js @@ -661,10 +661,10 @@ if ( "_setup" in setup && typeof setup._setup === "function" ) { - setup._setup.call( this, Popcorn.extend( {}, options, { - target: setup.manifest.options.target || "" - }) - ); + setup._setup.call( this, options); + Popcorn.extend( {}, options, { + target: setup.manifest.options.target || "" + }); }