summaryrefslogtreecommitdiff
path: root/relationship.php
diff options
context:
space:
mode:
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%";
+ }'
+);