From 1456f81e315547fd0989fa6eed7891268035a482 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 4 Jan 2017 23:32:51 -0500 Subject: [PATCH] use shorter variables --- src/popup/app/vault/vaultController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/popup/app/vault/vaultController.js b/src/popup/app/vault/vaultController.js index f52906dba3..a43d116099 100644 --- a/src/popup/app/vault/vaultController.js +++ b/src/popup/app/vault/vaultController.js @@ -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++; } }