Index: jquery_compatibility_mode.module =================================================================== --- jquery_compatibility_mode.module (revision 134) +++ jquery_compatibility_mode.module (working copy) @@ -91,7 +91,7 @@ //If anyone else has a better method of figuring out if a JS file is using jQuery calles, then PLEASE //send me a msg about it! This is all I could think of. This works 99% of the time, but I'd like to //get that up to 100% - if (after('Drupal.', $contents, FALSE) && (after('$(', $contents)) && !after('(function($)', $contents, FALSE) && !after('var run_through_jquery_compatibility_mode = FALSE;', $contents, FALSE)) + if ((after('Drupal.', $contents, FALSE) || after('$(', $contents)) && !after('(function($)', $contents, FALSE) && !after('var run_through_jquery_compatibility_mode = FALSE;', $contents, FALSE)) { return TRUE; }