diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2017-12-29 13:47:37 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2017-12-29 13:47:37 +0100 |
commit | d13e54b2e6e3886c876f9dc04978e7d4e2799f6b (patch) | |
tree | 85eca965632891471a657ed943c852e93715d0e3 /renderer.php | |
parent | dcddbf4882ac2f3192fb96f1536a8ebbf2910053 (diff) |
Fix parser style phase 3
Diffstat (limited to 'renderer.php')
-rw-r--r-- | renderer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/renderer.php b/renderer.php index d2d00f0..529fb0e 100644 --- a/renderer.php +++ b/renderer.php @@ -85,8 +85,7 @@ class qtype_algebra_renderer extends qtype_renderer { // Javascript function which the button uses to display the rendering // This function sents the source of the iframe to the 'displayformula.php' script giving // it an argument of the formula entered by the student. - $displayfunction = - 'function '.$dfname."() {\n". + $displayfunction = 'function '.$dfname."() {\n". ' var text="vars='.$varnames.'&expr="+escape(document.getElementsByName("'.$inputname.'")[0].value);'."\n". " if(text.length != 0) {\n". ' document.getElementsByName("'.$iframename.'")[0].src="'. |