WordPress.org

Plugin Directory

Changeset 580437


Ignore:
Timestamp:
08/01/12 20:25:02 (21 months ago)
Author:
andy
Message:

Jetpack retina: make the color picker 2x on wp-admin/customize.php

Location:
jetpack/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/_inc/jetpack-retina.css

    r580356 r580437  
    434434    } 
    435435 
    436     .wp-admin .farbtastic .marker { 
     436    .farbtastic .marker { 
    437437        background-image: url('images/marker-2x.png'); 
    438438        background-size: 17px 17px; 
    439439    } 
    440440 
    441     .wp-admin .farbtastic .wheel { 
     441    .farbtastic .wheel { 
    442442        background-image: url('images/wheel-2x.png'); 
    443443        background-size: 195px 195px; 
    444444    } 
    445445 
    446     .wp-admin .farbtastic .overlay { 
     446    .farbtastic .overlay { 
    447447        background-image: url('images/mask-2x.png'); 
    448448        background-size: 101px 101px; 
  • jetpack/trunk/jetpack.php

    r580042 r580437  
    179179 
    180180        add_action( 'wp_enqueue_scripts', array( $this, 'devicepx' ) ); 
     181        add_action( 'customize_controls_enqueue_scripts', array( $this, 'devicepx' ) ); 
    181182        add_action( 'admin_enqueue_scripts', array( $this, 'devicepx' ) ); 
    182183    } 
     
    10981099                add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_retina_scripts' ) ); 
    10991100                add_action( 'admin_print_footer_scripts', array( $this, 'output_retina_js' ) ); 
     1101 
     1102                // /wp-admin/customize.php omits the actions above. 
     1103                add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_retina_scripts' ) ); 
     1104                add_action( 'customize_controls_print_footer_scripts', array( $this, 'output_retina_js' ) ); 
    11001105            } 
    11011106        } 
Note: See TracChangeset for help on using the changeset viewer.