Make WordPress Core


Ignore:
Timestamp:
10/14/2011 03:33:46 AM (13 years ago)
Author:
koopersmith
Message:

Simplify pointer API with smarter positioning. see #18693.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r18937 r18969  
    16511651        wp_enqueue_style( 'wp-pointer' );
    16521652        wp_enqueue_script( 'wp-pointer' );
    1653         wp_enqueue_script( 'utils' );
    16541653    }
    16551654}
     
    16651664//<![CDATA[
    16661665jQuery(document).ready( function($) {
    1667     $('#wpadminbar').pointer({
     1666    $('#wp-admin-bar-help').pointer({
    16681667        content: '<?php echo $pointer_content; ?>',
    1669         position: {
    1670             my: 'left top',
    1671             at: 'center bottom',
    1672             offset: '-25 0'
    1673         },
     1668        position: 'top',
    16741669        close: function() {
    16751670            $.post( ajaxurl, {
Note: See TracChangeset for help on using the changeset viewer.