witten
/
luminotes
Archived
1
0
Fork 0

Don't display a byline if there isn't any note text yet.

This commit is contained in:
Dan Helfman 2009-01-27 19:35:49 -08:00
parent 2d04b021ae
commit 06092cb3b0
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ Wiki.prototype.create_editor = function ( id, note_text, deleted_from_id, revisi
'</form>' + note_text;
}
if ( creation ) {
if ( creation && note_text != "<h3></h3>" ) {
var note_id = id.split( ' ' )[ 0 ];
note_text = note_text + this.make_byline( username, creation, note_id );
}