Fixed typo pointed out by Icefox - thanks! See comments for r73499.
authorTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 23 Sep 2010 18:08:20 +0000 (18:08 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 23 Sep 2010 18:08:20 +0000 (18:08 +0000)
resources/mediawiki/mediawiki.js

index 3d94d2c..3c7d4df 100644 (file)
@@ -648,7 +648,7 @@ window.mediaWiki = new ( function( $ ) {
                        dependencies = resolve( dependencies );
                        // If all dependencies are met, execute ready immediately
                        if ( filter( ['ready'], dependencies ).compare( dependencies ) ) {
-                               if ( typeof ready !== 'function' ) {
+                               if ( typeof ready === 'function' ) {
                                        ready();
                                }
                        }