mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -91,11 +91,11 @@ function wp_widgets_admin_head() {
|
||||
var elHeight = parseInt( jQuery(o).css('height') );
|
||||
var elLeft = parseInt( jQuery(o).css('left') );
|
||||
var elTop = parseInt( jQuery(o).css('top') );
|
||||
if ( screenWidth < ( parseInt(elLeft) + parseInt(elWidth) ) )
|
||||
if ( screenWidth < ( parseInt(elLeft) + parseInt(elWidth) ) )
|
||||
jQuery(o).css('left', ( screenWidth - elWidth ) + 'px' );
|
||||
if ( screenHeight < ( parseInt(elTop) + parseInt(elHeight) ) )
|
||||
if ( screenHeight < ( parseInt(elTop) + parseInt(elHeight) ) )
|
||||
jQuery(o).css('top', ( screenHeight - elHeight ) + 'px' );
|
||||
if ( elLeft < 1 )
|
||||
if ( elLeft < 1 )
|
||||
jQuery(o).css('left', '1px');
|
||||
if ( elTop < 1 )
|
||||
jQuery(o).css('top', '1px');
|
||||
@@ -129,10 +129,10 @@ function wp_widgets_admin_head() {
|
||||
<?php endforeach; ?>
|
||||
}
|
||||
function updateAll() {
|
||||
jQuery.map(cols, function(o) {
|
||||
jQuery.map(cols, function(o) {
|
||||
if ( jQuery('#' + o + ' li').length )
|
||||
jQuery('#'+o+'placemat span.handle').hide();
|
||||
else
|
||||
else
|
||||
jQuery('#'+o+'placemat span.handle').show();
|
||||
});
|
||||
resetDroppableHeights();
|
||||
@@ -157,7 +157,7 @@ function wp_widget_draggable( $name ) {
|
||||
|
||||
$sanitized_name = sanitize_title( $wp_registered_widgets[$name]['id'] );
|
||||
$link_title = __( 'Configure' );
|
||||
$popper = ( isset( $wp_registered_widget_controls[$name] ) )
|
||||
$popper = ( isset( $wp_registered_widget_controls[$name] ) )
|
||||
? ' <div class="popper" id="' . $sanitized_name . 'popper" title="' . $link_title . '">≡</div>'
|
||||
: '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user