language files

removed max-height from CSS
This commit is contained in:
Robin Cornett
2014-11-05 14:30:13 -05:00
parent 4dc5f52e54
commit dbbf26689b
4 changed files with 84 additions and 46 deletions
@@ -9,6 +9,10 @@
class Display_Featured_Image_Genesis_Settings {
/**
* variable set for featured image option
* @var option
*/
protected $displaysetting;
/**
@@ -358,6 +362,9 @@ class Display_Featured_Image_Genesis_Settings {
if ( 'appearance_page_displayfeaturedimagegenesis' === get_current_screen()->id ) {
wp_enqueue_media();
wp_enqueue_script( 'displayfeaturedimage-upload' );
wp_localize_script( 'displayfeaturedimage-upload', 'objectL10n', array(
'text' => __( 'Choose Image', 'display-featured-image-genesis' ),
) );
}
}
@@ -3,7 +3,7 @@
}
.big-leader {
max-height: 700px;
/*max-height: 700px;*/
}
.big-leader .wrap {
+2 -2
View File
@@ -14,9 +14,9 @@ jQuery(document).ready(function($){
//Extend the wp.media object
custom_uploader = wp.media.frames.file_frame = wp.media({
title: 'Choose Image',
title: ([objectL10n.text]),
button: {
text: 'Choose Image'
text: ([objectL10n.text])
},
multiple: false
});