From 0e3eca75833b9af7131d8cd8c6760afbf754000f Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Wed, 20 Mar 2019 22:26:08 +0100 Subject: [PATCH] extendedFamilyModeJS --- src/js/extendedFamilyModeJS.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/extendedFamilyModeJS.js b/src/js/extendedFamilyModeJS.js index 3e6d2ac7575..03c73b2779f 100644 --- a/src/js/extendedFamilyModeJS.js +++ b/src/js/extendedFamilyModeJS.js @@ -165,8 +165,8 @@ window.areCousins = /** @param {App.Entity.SlaveState} slave1, @param {App.Entit window.areRelated = /** @param {App.Entity.SlaveState} slave1, @param {App.Entity.SlaveState} slave2 */ function (slave1, slave2) { - return (slave1.father === slave2.ID || slave1.mother === slave2.ID || slave2.father === slave1.ID || slave2.mother === slave1.ID || areSisters(slave1, slave2) > 0); -}; + return (slave1.father === slave2.ID || slave1.mother === slave2.ID || slave2.father === slave1.ID || slave2.mother === slave1.ID || areSisters(slave1, slave2) > 0); + }; window.totalRelatives = /** @param {App.Entity.SlaveState} slave */ function (slave) { var relatives = 0; -- GitLab