From: Rick Waldron Date: Fri, 22 Jul 2011 15:16:38 +0000 (-0400) Subject: Updates per review X-Git-Tag: v0.8^2~30^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4dd5eabbd0452514a4296e0a93bc8de893e9ef07;p=popcorn-js.git Updates per review --- diff --git a/plugins/flickr/popcorn.flickr.js b/plugins/flickr/popcorn.flickr.js index fdb314a..955108f 100755 --- a/plugins/flickr/popcorn.flickr.js +++ b/plugins/flickr/popcorn.flickr.js @@ -108,14 +108,14 @@ Popcorn.forEach( data.items, function ( item, i ) { if ( i < _count ) { - _link = document.createElement( 'a' ); - _link.setAttribute( 'href', item.link ); + _link = document.createElement( "a" ); + _link.setAttribute( "href", item.link ); _link.setAttribute( "target", "_blank" ); - _image = document.createElement( 'img' ); - _image.setAttribute( 'src', item.media.m ); - _image.setAttribute( 'height',_height ); - _image.setAttribute( 'width', _width ); - _image.setAttribute( 'style', 'border:' + _border + ';padding:' + _padding ); + _image = document.createElement( "img" ); + _image.setAttribute( "src", item.media.m ); + _image.setAttribute( "height",_height ); + _image.setAttribute( "width", _width ); + _image.setAttribute( "style", "border:" + _border + ";padding:" + _padding ); _link.appendChild( _image ); fragment.appendChild( _link );