summaryrefslogtreecommitdiff
path: root/relationship.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-10-06 21:24:32 +0100
committerGreg Roach <fisharebest@gmail.com>2014-10-06 21:24:32 +0100
commita4a6645c3a3a6a811d5571aae0f21a17576b27d5 (patch)
tree335f7c967b68ce4a5001f7423daabbcd25436ecf /relationship.php
parent1480a0f478b98c16090a5e560553b52518e3e7d6 (diff)
downloadwebtrees-a4a6645c3a3a6a811d5571aae0f21a17576b27d5.tar.gz
webtrees-a4a6645c3a3a6a811d5571aae0f21a17576b27d5.tar.bz2
webtrees-a4a6645c3a3a6a811d5571aae0f21a17576b27d5.zip
Whitespace changes to reduce merge conflicts with the assets branch
Diffstat (limited to 'relationship.php')
-rw-r--r--relationship.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/relationship.php b/relationship.php
index 41aa50adf9..aac2b403de 100644
--- a/relationship.php
+++ b/relationship.php
@@ -393,11 +393,10 @@ echo '</div>'; // close #relationshippage
// The contents of <div id="relationship_chart"> use relative positions.
// Need to expand the div to include the children, or we'll overlap the footer.
// $maxyoffset is the top edge of the lowest box.
-$controller
- ->addInlineJavascript('
- relationship_chart_div = document.getElementById("relationship_chart");
- if (relationship_chart_div) {
- relationship_chart_div.style.height = "'.($maxyoffset+$Dbheight+20).'px";
- relationship_chart_div.style.width = "100%";
- }'
- );
+$controller->addInlineJavascript('
+ relationship_chart_div = document.getElementById("relationship_chart");
+ if (relationship_chart_div) {
+ relationship_chart_div.style.height = "'.($maxyoffset+$Dbheight+20).'px";
+ relationship_chart_div.style.width = "100%";
+ }'
+);