Don't display a byline if there isn't any note text yet.
This commit is contained in:
parent
2d04b021ae
commit
06092cb3b0
|
@ -823,7 +823,7 @@ Wiki.prototype.create_editor = function ( id, note_text, deleted_from_id, revisi
|
||||||
'</form>' + note_text;
|
'</form>' + note_text;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( creation ) {
|
if ( creation && note_text != "<h3></h3>" ) {
|
||||||
var note_id = id.split( ' ' )[ 0 ];
|
var note_id = id.split( ' ' )[ 0 ];
|
||||||
note_text = note_text + this.make_byline( username, creation, note_id );
|
note_text = note_text + this.make_byline( username, creation, note_id );
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue