WordPress.org

Make WordPress Core

Changeset 19382


Ignore:
Timestamp:
11/21/2011 07:14:22 PM (7 years ago)
Author:
nacin
Message:

Make hoverIntent available outside of the admin. fixes #19318.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r19371 r19382  
    280280    $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox' ), '20110930', 1 );
    281281
     282    $scripts->add( 'hoverIntent', "/wp-includes/js/hoverIntent$suffix.js", array('jquery'), '20090102', 1 );
     283
    282284    if ( is_admin() ) {
    283285        $scripts->add( 'ajaxcat', "/wp-admin/js/cat$suffix.js", array( 'wp-lists' ), '20090102' );
     
    370372        $scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox' ), '20111118', 1 );
    371373
    372         $scripts->add( 'hoverIntent', "/wp-includes/js/hoverIntent$suffix.js", array('jquery'), '20090102', 1 );
    373 
    374374        $scripts->add( 'list-revisions', "/wp-includes/js/wp-list-revisions$suffix.js", null, '20091223' );
    375375
Note: See TracChangeset for help on using the changeset viewer.