Pass on the text direction, scroll to end if RL
[scpubgit/stemmaweb.git] / root / src / relate.tt
index e46c5de..4d9d4e4 100644 (file)
@@ -24,7 +24,7 @@ var ternary_values = [% ternary_values %];
 [% END -%]
 
 $(document).ready(function () {
-  loadSVG('[% svg_string %]');
+  loadSVG('[% svg_string %]', '[% direction %]');
 });
 </script>
 [% END %]