Index: trunk/tools/wp-photocommons/js/search.js |
— | — | @@ -111,7 +111,8 @@ |
112 | 112 | $.each( data.query.pageids, function( key, pageid ) { |
113 | 113 | var img = data.query.pages[pageid]; |
114 | 114 | if ( img.imageinfo && img.imageinfo[0] ) { |
115 | | - $( '<img style="display:none"/>' ).attr({ |
| 115 | + $( '<img>' ).attr({ |
| 116 | + 'style': 'display:none', |
116 | 117 | 'src': img.imageinfo[0].thumburl, |
117 | 118 | 'title': img.title, |
118 | 119 | 'data-filename': img.title |