Entities list fixes

- Fix report of number of entities selected if have two selected
- Don't show yellow focus highlight on row when first click it
This commit is contained in:
David Rowe 2016-03-31 09:16:31 +13:00
parent 510d167c87
commit 3457d1c21e
2 changed files with 5 additions and 1 deletions

View file

@ -139,6 +139,10 @@ tr:nth-child(even) {
background-color: #1c1c1c;
}
tr:focus {
outline: none;
}
tr.selected {
color: #000000;
background-color: #00b4ef;

View file

@ -181,7 +181,7 @@
}
}
if (selectedEntities.length > 2) {
if (selectedEntities.length > 1) {
elFooter.firstChild.nodeValue = selectedEntities.length + " entities selected";
} else if (selectedEntities.length === 1) {
elFooter.firstChild.nodeValue = "1 entity selected";