mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Use jQuery .html() when processing HTML.
git-svn-id: http://core.svn.wordpress.org/trunk@22916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7e13a6656c
commit
ef662a5822
@ -97,7 +97,7 @@ inlineEditPost = {
|
||||
if ( $(this).prop('checked') ) {
|
||||
c = false;
|
||||
var id = $(this).val(), theTitle;
|
||||
theTitle = $('#inline_'+id+' .post_title').text() || inlineEditL10n.notitle;
|
||||
theTitle = $('#inline_'+id+' .post_title').html() || inlineEditL10n.notitle;
|
||||
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+inlineEditL10n.ntdeltitle+'">X</a>'+theTitle+'</div>';
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user