Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197

git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2011-09-20 03:37:17 +00:00
parent 2f59ff622a
commit 456753acce
15 changed files with 12 additions and 306 deletions

View File

@@ -240,7 +240,7 @@ screenMeta = {
$(document).ready( function() {
var lastClicked = false, checks, first, last, checked, dropdown,
var lastClicked = false, checks, first, last, checked,
pageInput = $('input.current-page'), currentPage = pageInput.val();
// Move .updated and .error alert boxes. Don't move boxes designed to be inline.
@@ -250,25 +250,6 @@ $(document).ready( function() {
// Init screen meta
screenMeta.init();
// User info dropdown.
// @todo: Removed in 3.3; remove me!
dropdown = {
doc: $(document),
element: $('#user_info'),
open: function() {
if ( ! dropdown.element.hasClass('active') ) {
dropdown.element.addClass('active');
dropdown.doc.one( 'click', dropdown.close );
return false;
}
},
close: function() {
dropdown.element.removeClass('active');
}
};
dropdown.element.click( dropdown.open );
// check all checkboxes
$('tbody').children().children('.check-column').find(':checkbox').click( function(e) {
if ( 'undefined' == e.shiftKey ) { return true; }