diff --git a/wp-content/themes/twentyeleven/inc/theme-options.css b/wp-content/themes/twentyeleven/inc/theme-options.css index 568fa9b02..34a4b5274 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.css +++ b/wp-content/themes/twentyeleven/inc/theme-options.css @@ -21,11 +21,10 @@ margin: 0 0 0 -2px; } #link-color-example { - padding: 4px 14px; - margin: 0 7px 0 3px; -moz-border-radius: 4px; - -khtml-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; border: 1px solid #dfdfdf; + margin: 0 7px 0 3px; + padding: 4px 14px; } \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/inc/theme-options.js b/wp-content/themes/twentyeleven/inc/theme-options.js index c0dfde227..691f486ae 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.js +++ b/wp-content/themes/twentyeleven/inc/theme-options.js @@ -5,14 +5,14 @@ var farbtastic; farbtastic.setColor(a); $('#link-color').val(a); $('#link-color-example').css('background-color', a); - } + }; $(document).ready( function() { farbtastic = $.farbtastic('#colorPickerDiv', pickColor); pickColor( $('#link-color').val() ); - $('#pickcolor').click( function(e) { + $('.pickcolor').click( function(e) { $('#colorPickerDiv').show(); e.preventDefault(); }); diff --git a/wp-content/themes/twentyeleven/inc/theme-options.php b/wp-content/themes/twentyeleven/inc/theme-options.php index 9f3193fc4..aaa576080 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.php +++ b/wp-content/themes/twentyeleven/inc/theme-options.php @@ -192,7 +192,8 @@ function theme_options_render_page() {
- + +
@@ -283,7 +284,7 @@ function twentyeleven_print_link_color_style() { $link_color = $options['link_color']; $default_options = twentyeleven_get_default_theme_options(); - + // Don't do anything if the current link color is the default. if ( $default_options['link_color'] == $link_color ) return;