Changeset 6867 for trunk/bp-templates/bp-legacy/buddypress-functions.php
- Timestamp:
- 03/25/2013 08:00:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-templates/bp-legacy/buddypress-functions.php
r6866 r6867 87 87 add_filter( 'bp_enqueue_scripts', array( $this, 'localize_scripts' ) ); // Enqueue theme script localization 88 88 add_action( 'bp_head', array( $this, 'head_scripts' ) ); // Output some extra JS in the <head> 89 89 90 90 /** Body no-js Class ********************************************************/ 91 91 add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 ); … … 284 284 <?php 285 285 } 286 286 287 287 /** 288 288 * Adds the no-js class to the body tag. … … 299 299 if ( ! in_array( 'no-js', $classes ) ) 300 300 $classes[] = 'no-js'; 301 301 302 302 return array_unique( $classes ); 303 303 }
Note: See TracChangeset
for help on using the changeset viewer.