Skip to content

Commit a02b311

Browse files
save file
1 parent 06ff1b3 commit a02b311

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

html/chat-room/html/chat-room-display/chat-room-display.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@
8181
var msg;
8282

8383

84+
Object.defineProperty(obj,'last',{get:()=>msgs.at(-1)?.ts});
85+
86+
8487
//:
8588

8689

@@ -114,6 +117,8 @@
114117
//:
115118

116119

120+
display.result = function({list}){display.list(list)}
121+
117122
display.list = function(list){
118123

119124
list.forEach(item=>{

0 commit comments

Comments
 (0)