From: Jon Buckley Date: Tue, 21 Jun 2011 14:31:10 +0000 (-0400) Subject: Merge remote-tracking branch 'mbuttu/t516' into develop X-Git-Tag: v0.7^2~32 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b6c8afa84fb3cca237cc8391699b13faa05e9a55;p=popcorn-js.git Merge remote-tracking branch 'mbuttu/t516' into develop Conflicts: plugins/flickr/popcorn.flickr.js --- b6c8afa84fb3cca237cc8391699b13faa05e9a55 diff --cc plugins/flickr/popcorn.flickr.js index 908e39c,e55545b..2c14bc3 --- a/plugins/flickr/popcorn.flickr.js +++ b/plugins/flickr/popcorn.flickr.js @@@ -49,20 -46,21 +49,20 @@@ _uri, _link, _image, - _count = options.numberofimages || 4 , - _height = options.height || "50px", - _width = options.width || "50px", + _count = options.numberofimages || 4 , + _height = options.height || "50px", + _width = options.width || "50px", _padding = options.padding || "5px", - _border = options.border || "0px"; - _border = options.border || "0px", - i; ++ _border = options.border || "0px"; // create a new div this way anything in the target div is left intact // this is later populated with Flickr images - containerDiv = document.createElement( "div" ); - containerDiv.id = "flickr" + idx; - containerDiv.style.width = "100%"; - containerDiv.style.height = "100%"; + containerDiv = document.createElement( "div" ); - containerDiv.id = "flickr" + i; ++ containerDiv.id = "flickr" + idx; + containerDiv.style.width = "100%"; + containerDiv.style.height = "100%"; containerDiv.style.display = "none"; - i++; + idx++; // ensure the target container the user chose exists if ( document.getElementById( options.target ) ) {