summaryrefslogtreecommitdiff
path: root/app/Module
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-10-14 13:39:42 +0100
committerGreg Roach <fisharebest@gmail.com>2017-10-14 13:40:15 +0100
commitd703116256db00989b51d7a1566b0db7afca2087 (patch)
treecbfecc30dcc6da5f65df65ccb46b4a890ab5b9c9 /app/Module
parentbbaf543d2a190194916fbd63bd1af6ffcd445364 (diff)
downloadwebtrees-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.php4
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 ?>