Style end session messages
Also add a missing call to render()
This commit is contained in:
parent
f00a8f1e81
commit
367421d40a
3 changed files with 12 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
model: groupUpdate
|
||||
}).render();
|
||||
} else if (this.model.get('flags') === textsecure.protobuf.PushMessageContent.Flags.END_SESSION) {
|
||||
this.end_session_view = new Whisper.EndSessionView();
|
||||
this.end_session_view = new Whisper.EndSessionView().render();
|
||||
} else {
|
||||
this.template = $('#message').html();
|
||||
}
|
||||
|
|
|
@ -216,3 +216,9 @@ button {
|
|||
z-index: 5;
|
||||
}
|
||||
}
|
||||
|
||||
.end-session {
|
||||
font: small;
|
||||
font-style: italic;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
|
|
@ -398,3 +398,8 @@ button {
|
|||
border: 0;
|
||||
outline: 0;
|
||||
z-index: 5; }
|
||||
|
||||
.end-session {
|
||||
font: small;
|
||||
font-style: italic;
|
||||
opacity: 0.8; }
|
||||
|
|
Loading…
Reference in a new issue