SpecialNewpages: add $attribs['class'] immediately before creating <li>
[lhc/web/wiklou.git] / includes / specials / SpecialJavaScriptTest.php
index 52064b7..17c64c8 100644 (file)
@@ -143,7 +143,11 @@ class SpecialJavaScriptTest extends SpecialPage {
                        .always( function () {
                                start();
                        } )
-                       .fail( function ( e ) { throw e; } );
+                       .fail( function ( e ) {
+                               setTimeout( function () {
+                                       throw e;
+                               } );
+                       } );
        } catch ( e ) {
                start();
                throw e;