Fix bug with readmarker
This commit is contained in:
parent
ee890222c5
commit
fc8714b4d4
|
@ -40,9 +40,9 @@ td.message {
|
|||
word-wrap: break-word;
|
||||
width: 100%;
|
||||
}
|
||||
#readmarker {
|
||||
hr {
|
||||
margin: 0;
|
||||
color: #111;
|
||||
border-color: darkgreen;
|
||||
}
|
||||
.text {
|
||||
white-space: pre;
|
||||
|
|
|
@ -133,9 +133,9 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
|
|||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr ng-repeat-end ng-if="activeBuffer().lastSeen-1==$index">
|
||||
<tr class="readmarker" ng-repeat-end ng-show="activeBuffer().lastSeen==$index">
|
||||
<td colspan="3">
|
||||
<hr id="readmarker">
|
||||
<hr ng-if="activeBuffer().lastSeen==$index" id="readmarker">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
@ -152,7 +152,7 @@ models.service('models', ['colors', function(colors) {
|
|||
// turn off the active status for the previous buffer
|
||||
previousBuffer.active = false;
|
||||
// Save the last line we saw
|
||||
previousBuffer.lastSeen = previousBuffer.lines.length;
|
||||
previousBuffer.lastSeen = previousBuffer.lines.length-1;
|
||||
}
|
||||
|
||||
activeBuffer = _.find(this.model['buffers'], function(buffer) {
|
||||
|
|
Loading…
Reference in New Issue