Ticket #16961: 16961.patch
| File 16961.patch, 649 bytes (added by jakub.tyrcha, 2 years ago) |
|---|
-
wp-admin/js/custom-background.dev.js
8 8 9 9 jQuery(document).ready(function() { 10 10 jQuery('#pickcolor').click(function() { 11 window_height = jQuery(document).height(); 11 12 jQuery('#colorPickerDiv').show(); 13 // fit to the window 14 colorpicker_offset = jQuery('#colorPickerDiv').position().top; 15 if ( colorpicker_offset + 197 > window_height ) 16 jQuery('#colorPickerDiv').css( 'top' , colorpicker_offset - 223 ); 12 17 return false; 13 18 }); 14 19
