From 4dd5eabbd0452514a4296e0a93bc8de893e9ef07 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Fri, 22 Jul 2011 11:16:38 -0400 Subject: [PATCH] Updates per review --- plugins/flickr/popcorn.flickr.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 ); -- 2.43.0