Fix display of 'enter title here'. see #12591

git-svn-id: https://develop.svn.wordpress.org/trunk@13969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-04-03 12:27:46 +00:00
parent a89c39123e
commit 7456b2d56c
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -600,6 +600,8 @@ jQuery(document).ready( function($) {
makeSlugeditClickable();
}
if ( $('#title').val() == '' )
$('#title').siblings('#title-prompt-text').css('visibility', '');
$('#title-prompt-text').click(function(){
$(this).css('visibility', 'hidden').siblings('#title').focus();
});