Don't run mw.echo.special.initialize until DOM is ready

To fix rare race condition in Safari

Change-Id: I2ae556ff6e44f291e761d2937203a3376f4a3177
This commit is contained in:
kaldari 2013-06-11 13:01:23 -07:00
parent dc6e8394fc
commit 902ce9cc04

View file

@ -170,6 +170,6 @@
}
};
mw.echo.special.initialize();
$( document ).ready( mw.echo.special.initialize );
} )( jQuery, mediaWiki );