mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+13
-13
@@ -142,7 +142,7 @@ jQuery(document).ready( function($) {
|
||||
$('form.validate').submit( function() { return wpAjax.validateForm( $(this) ); } );
|
||||
}
|
||||
|
||||
// Move .updated and .error alert boxes
|
||||
// Move .updated and .error alert boxes
|
||||
$('div.wrap h2 ~ div.updated, div.wrap h2 ~ div.error').addClass('below-h2');
|
||||
$('div.updated, div.error').not('.below-h2').insertAfter('div.wrap h2:first');
|
||||
|
||||
@@ -156,7 +156,7 @@ jQuery(document).ready( function($) {
|
||||
$('#show-settings-link').css({'backgroundImage':'url("images/screen-options-right.gif")'});
|
||||
$('#contextual-help-link-wrap').removeClass('invisible');
|
||||
$(this).removeClass('screen-options-open');
|
||||
|
||||
|
||||
} else {
|
||||
$('#show-settings-link').css({'backgroundImage':'url("images/screen-options-right-up.gif")'});
|
||||
$(this).addClass('screen-options-open');
|
||||
@@ -164,7 +164,7 @@ jQuery(document).ready( function($) {
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
// help tab
|
||||
$('#contextual-help-link').click(function () {
|
||||
if ( ! $('#contextual-help-wrap').hasClass('contextual-help-open') ) {
|
||||
@@ -239,7 +239,7 @@ showNotice = {
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
|
||||
note : function(text) {
|
||||
alert(text);
|
||||
}
|
||||
@@ -248,10 +248,10 @@ showNotice = {
|
||||
(function($){
|
||||
// sidebar admin menu
|
||||
adminMenu = {
|
||||
|
||||
|
||||
init : function() {
|
||||
$('#adminmenu div.wp-menu-toggle').each( function() {
|
||||
if ( $(this).siblings('.wp-submenu').length )
|
||||
if ( $(this).siblings('.wp-submenu').length )
|
||||
$(this).click(function(){ adminMenu.toggle( $(this).siblings('.wp-submenu') ); });
|
||||
else
|
||||
$(this).hide();
|
||||
@@ -282,7 +282,7 @@ adminMenu = {
|
||||
if ( $(e).hasClass('wp-has-current-submenu') ) return true; // leave the current parent open
|
||||
|
||||
if ( 'o' == v ) $(e).addClass('wp-menu-open');
|
||||
else if ( 'c' == v ) $(e).removeClass('wp-menu-open');
|
||||
else if ( 'c' == v ) $(e).removeClass('wp-menu-open');
|
||||
});
|
||||
},
|
||||
|
||||
@@ -297,7 +297,7 @@ adminMenu = {
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
|
||||
fold : function(off) {
|
||||
if (off) {
|
||||
$('#wpcontent').removeClass('folded');
|
||||
@@ -321,14 +321,14 @@ adminMenu = {
|
||||
sensitivity: 8,
|
||||
interval: 100
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
favorites : function() {
|
||||
$('#favorite-inside').width($('#favorite-actions').width()-4);
|
||||
$('#favorite-toggle, #favorite-inside').bind( 'mouseenter', function(){$('#favorite-inside').removeClass('slideUp').addClass('slideDown'); setTimeout(function(){if ( $('#favorite-inside').hasClass('slideDown') ) { $('#favorite-inside').slideDown(100); $('#favorite-first').addClass('slide-down'); }}, 200) } );
|
||||
|
||||
|
||||
$('#favorite-toggle, #favorite-inside').bind( 'mouseleave', function(){$('#favorite-inside').removeClass('slideDown').addClass('slideUp'); setTimeout(function(){if ( $('#favorite-inside').hasClass('slideUp') ) { $('#favorite-inside').slideUp(100, function(){ $('#favorite-first').removeClass('slide-down'); } ); }}, 300) } );
|
||||
}
|
||||
};
|
||||
@@ -368,7 +368,7 @@ columns = {
|
||||
|
||||
jQuery(document).ready(function($){
|
||||
if ( 'undefined' != typeof google && google.gears ) return;
|
||||
|
||||
|
||||
var gf = false;
|
||||
if ( 'undefined' != typeof GearsFactory ) {
|
||||
gf = new GearsFactory();
|
||||
@@ -390,6 +390,6 @@ jQuery(document).ready(function($){
|
||||
}
|
||||
if ( gf && gf.hasPermission )
|
||||
return;
|
||||
|
||||
|
||||
$('.turbo-nag').show();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user