Limit attempts to render the same thumbnail after failures
[lhc/web/wiklou.git] / resources / mediawiki.special / mediawiki.special.javaScriptTest.js
index 808d5fe..2c7421b 100644 (file)
@@ -8,7 +8,7 @@
                // (only if a framework was found, not on error pages).
                $( '#mw-javascripttest-summary.mw-javascripttest-frameworkfound' ).append( function () {
 
-                       var     $html = $( '<p><label for="useskin">'
+                       var $html = $( '<p><label for="useskin">'
                                        + mw.message( 'javascripttest-pagetext-skins' ).escaped()
                                        + ' '
                                        + '</label></p>' ),
@@ -25,7 +25,7 @@
                        // Bind onchange event handler and append to form
                        $html.append(
                                $( select ).change( function () {
-                                       window.location = QUnit.url( { useskin: $(this).val() } );
+                                       window.location = QUnit.url( { useskin: $( this ).val() } );
                                } )
                        );