Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js |
— | — | @@ -448,7 +448,7 @@ |
449 | 449 | } |
450 | 450 | |
451 | 451 | var index = 0, |
452 | | - loadingType = currentTypeOrSubtype |
| 452 | + loadingType = currentTypeOrSubtype, |
453 | 453 | loadingIndex = 0; |
454 | 454 | $.ajax({ |
455 | 455 | url: mw.util.wikiScript( 'api' ), |
— | — | @@ -476,7 +476,7 @@ |
477 | 477 | $.each( data.query.pages, function( id, page ) { |
478 | 478 | if ( page.imageinfo && page.imageinfo.length ) { |
479 | 479 | // build an image tag with the correct url and width |
480 | | - $img = $( '<img/>' ) |
| 480 | + var $img = $( '<img/>' ) |
481 | 481 | .attr( 'src', page.imageinfo[0].thumburl ) |
482 | 482 | .attr( 'width', currentTypeOrSubtype.gallery.width ) |
483 | 483 | .hide() |