Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.

git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2011-10-01 00:24:44 +00:00
parent 1aad45debc
commit a5acbaa574
9 changed files with 412 additions and 298 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ $('.contextual-help-tabs').delegate('a', 'click focus', function(e) {
panel.addClass('active').show();
// Adjust the height of the help columns
columns = $('#contextual-help-wrap').children('.metabox-prefs').children();
columns = $('#contextual-help-wrap').children();
columns.height('auto');
height = Math.max.apply( null, $.map( columns, function( el ) { return $(el).height(); }) );