We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7597d22 commit b44cd9bCopy full SHA for b44cd9b
1 file changed
html/chat-room/html/chat-room-display/chat-room-display.html
@@ -32,18 +32,7 @@
32
</style>
33
34
35
- <section id=view style='display:none'>
36
-
37
- <div class=msg>
38
- <div class=username>
39
- </div>
40
- <div class=txt>
41
42
- <div class=ts>
43
44
- <img class=del>
45
46
+ <section id=view>
47
</section>
48
49
@@ -80,7 +69,6 @@
80
69
81
70
var shadow;
82
71
var view;
83
- var msg;
84
72
85
73
86
74
Object.defineProperty(obj,'last',{get:()=>msgs.at(-1)?.ts});
@@ -106,14 +94,8 @@
106
94
debug('initdom');
107
95
shadow = host.shadowRoot;
108
96
109
110
97
view = $(shadow,'#view');
111
98
112
- msg = $(view,'.msg');
113
- msg.remove();
114
115
- view.style.display = '';
116
117
99
}//initdom
118
100
119
101
0 commit comments