1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-27 17:18:04 +01:00

use shorter variables

This commit is contained in:
Kyle Spearrin 2017-01-04 23:32:51 -05:00
parent fef2d38101
commit 1456f81e31

View File

@ -61,10 +61,10 @@
$rootScope.vaultLogins = decLogins;
// compute site count for each folder
for (var i = 0; i < $rootScope.vaultFolders.length; i++) {
for (var i = 0; i < decFolders.length; i++) {
var siteCount = 0;
for (var j = 0; j < $rootScope.vaultLogins.length; j++) {
if ($rootScope.vaultLogins[j].folderId == $rootScope.vaultFolders[i].id) {
for (var j = 0; j < decLogins.length; j++) {
if (decLogins[j].folderId == decFolders[i].id) {
siteCount++;
}
}