1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-31 00:01:03 +02:00

add back missing select function

This commit is contained in:
Kyle Spearrin 2018-03-19 11:14:28 -04:00
parent 75c05a4a85
commit 4ccd9501a8

View File

@ -425,6 +425,11 @@
selectAll(true);
};
$scope.select = function ($event) {
var checkbox = $($event.currentTarget).closest('tr').find('input[name="cipherSelection"]');
checkbox.prop('checked', !checkbox.prop('checked'));
};
function distinct(value, index, self) {
return self.indexOf(value) === index;
}