From b5fbd432d67a2184f75899f08197dceacc1aef26 Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 26 Jul 2011 10:54:18 +0000 Subject: - Move console object initialization code into one place git-svn-id: https://svn.roundcube.net/trunk@4966 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_html_page.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'roundcubemail/program/include/rcube_html_page.php') diff --git a/roundcubemail/program/include/rcube_html_page.php b/roundcubemail/program/include/rcube_html_page.php index 0cceb8964..200233c5d 100644 --- a/roundcubemail/program/include/rcube_html_page.php +++ b/roundcubemail/program/include/rcube_html_page.php @@ -219,12 +219,12 @@ class rcube_html_page } } - if (!empty($this->scripts['foot'])) { - $page_footer .= sprintf($this->script_tag, $this->scripts['foot']); + if (!empty($this->footer)) { + $page_footer .= $this->footer . "\n"; } - if (!empty($this->footer)) { - $page_footer .= $this->footer; + if (!empty($this->scripts['foot'])) { + $page_footer .= sprintf($this->script_tag, $this->scripts['foot']); } // find page header -- cgit v1.2.3