Skip to content

Commit

Permalink
Remove old check for 'hybrid-core-drop-downs'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Tadlock committed Oct 18, 2012
1 parent 673bfc0 commit 8522565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/scripts.php
Expand Up @@ -33,7 +33,7 @@ function hybrid_register_scripts() {
$supports = get_theme_support( 'hybrid-core-scripts' );

/* Register the 'drop-downs' script if the current theme supports 'hybrid-core-drop-downs'. */
if ( current_theme_supports( 'hybrid-core-drop-downs' ) || ( isset( $supports[0] ) && in_array( 'drop-downs', $supports[0] ) ) )
if ( isset( $supports[0] ) && in_array( 'drop-downs', $supports[0] ) ) )
wp_register_script( 'drop-downs', esc_url( apply_atomic( 'drop_downs_script', trailingslashit( HYBRID_JS ) . 'drop-downs.js' ) ), array( 'jquery' ), '20110920', true );

/* Register the 'nav-bar' script if the current theme supports 'hybrid-core-nav-bar'. */
Expand Down

0 comments on commit 8522565

Please sign in to comment.