Skip to content

Instantly share code, notes, and snippets.

@mpezzi
Created April 3, 2012 17:44
Show Gist options
  • Save mpezzi/2294042 to your computer and use it in GitHub Desktop.
Save mpezzi/2294042 to your computer and use it in GitHub Desktop.
Drupal jQuery Update Switch Version
<?php
// jQuery Update Version
if ( arg(0) == 'admin' ) {
$conf['jquery_update_jquery_version'] = '1.5';
}
else {
$conf['jquery_update_jquery_version'] = '1.7';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment