diff --git a/SyntaxHighlight_GeSHi.class.php b/SyntaxHighlight_GeSHi.class.php index 82b47032..46567e85 100644 --- a/SyntaxHighlight_GeSHi.class.php +++ b/SyntaxHighlight_GeSHi.class.php @@ -504,7 +504,7 @@ class SyntaxHighlight_GeSHi { * @return true */ public static function onResourceLoaderRegisterModules( &$resourceLoader ) { - if ( ExtensionRegistry::getInstance()->isLoaded( 'VisualEditor' ) ) { + if ( ! ExtensionRegistry::getInstance()->isLoaded( 'VisualEditor' ) ) { return; }