Index: trunk/extensions/TranslateSvg/ext.translateSvg.core.js |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | } |
37 | 37 | $( '#specialtranslatesvg' ).prepend( getNewFieldset( langcode, languages[langcode] ) ); |
38 | 38 | } else { |
39 | | - var temp = $( '<fieldset class="mw-translatesvg-temp"><br /></fieldset>' ).append( $.createSpinner() ); |
| 39 | + var temp = $( '<fieldset><br /></fieldset>' ).append( $.createSpinner( 'translatesvg-temp') ); |
40 | 40 | $( '#specialtranslatesvg' ).prepend( temp ); |
41 | 41 | jQuery.getJSON( |
42 | 42 | mw.util.wikiScript( 'api' ), { |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | //Have now loaded valid languages and this ain't one of them |
56 | 56 | //TODO: more helpful? |
57 | 57 | } |
58 | | - $( '.mw-translatesvg-temp' ).remove(); |
| 58 | + temp.remove(); |
59 | 59 | languages.isset = true; |
60 | 60 | } |
61 | 61 | ); |