diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-10-14 13:39:42 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-10-14 13:40:15 +0100 |
| commit | d703116256db00989b51d7a1566b0db7afca2087 (patch) | |
| tree | cbfecc30dcc6da5f65df65ccb46b4a890ab5b9c9 /app/Module | |
| parent | bbaf543d2a190194916fbd63bd1af6ffcd445364 (diff) | |
| download | webtrees-d703116256db00989b51d7a1566b0db7afca2087.tar.gz webtrees-d703116256db00989b51d7a1566b0db7afca2087.tar.bz2 webtrees-d703116256db00989b51d7a1566b0db7afca2087.zip | |
Fix #1408 - hide/show historic/relation facts
Diffstat (limited to 'app/Module')
| -rw-r--r-- | app/Module/IndividualFactsTabModule.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/IndividualFactsTabModule.php b/app/Module/IndividualFactsTabModule.php index 37d6ca43f7..2b792567f5 100644 --- a/app/Module/IndividualFactsTabModule.php +++ b/app/Module/IndividualFactsTabModule.php @@ -125,13 +125,13 @@ class IndividualFactsTabModule extends AbstractModule implements ModuleTabInterf <td colspan="2"> <?php if ($controller->record->getTree()->getPreference('SHOW_RELATIVES_EVENTS')) : ?> <label> - <input id="show-relatives-facts" type="checkbox"> + <input id="show-relatives-facts" type="checkbox" data-toggle="collapse" data-target=".wt-relation-fact"> <?= I18N::translate('Events of close relatives') ?> </label> <?php endif ?> <?php if (file_exists(Site::getPreference('INDEX_DIRECTORY') . 'histo.' . WT_LOCALE . '.php')) : ?> <label> - <input id="show-historical-facts" type="checkbox"> + <input id="show-historical-facts" type="checkbox" data-toggle="collapse" data-target=".wt-historic-fact"> <?= I18N::translate('Historical facts') ?> </label> <?php endif ?> |
