Revert "use ng-if to hide date instead of css"
That actually decreases performance, because it adds a watcher to every line
This reverts commit 16365db588
.
This commit is contained in:
parent
677ec7783d
commit
18d1f4716b
2 changed files with 6 additions and 1 deletions
|
@ -340,6 +340,11 @@ img.embed {
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
table.notimestamp td.time {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.modal ul {
|
.modal ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
|
|
|
@ -241,7 +241,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
</tbody>
|
</tbody>
|
||||||
<tbody ng-repeat="bufferline in bufferlines">
|
<tbody ng-repeat="bufferline in bufferlines">
|
||||||
<tr class="bufferline">
|
<tr class="bufferline">
|
||||||
<td class="time" ng-if="!notimestamp">
|
<td class="time">
|
||||||
<span class="date" bo-class="{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}">
|
<span class="date" bo-class="{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}">
|
||||||
<span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'HH'"></span><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'mm'"></span>
|
<span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'HH'"></span><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'mm'"></span>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue