QuickPress: add some JS to set wpActiveEditor when the title or content is focused, fixes #22021

git-svn-id: http://core.svn.wordpress.org/trunk@22517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2012-11-10 03:05:48 +00:00
parent ef1889a89b
commit b404fbdb85
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ jQuery(document).ready( function($) {
prompt.addClass('screen-reader-text');
});
});
$('#dashboard_quick_press #title, #dashboard_quick_press #content').focus(function(){ wpActiveEditor = 'content'; });
};
quickPressLoad();