diff options
author | Michal Čihař <mcihar@suse.cz> | 2011-08-05 16:49:23 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2011-08-05 16:49:23 +0400 |
commit | 1ec0b69e6bf3378188a051b45fb2c0e7ea93b990 (patch) | |
tree | 1bf578071b04275411cdb69c64ce0e54ce10391d /themes.php | |
parent | 6205d419b68d57105d985a4a5335498337f6ccf4 (diff) |
Coding style, function definitions
Diffstat (limited to 'themes.php')
-rw-r--r-- | themes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/themes.php b/themes.php index 0e37ee4940..732f1e3082 100644 --- a/themes.php +++ b/themes.php @@ -22,7 +22,8 @@ require './libraries/header_meta_style.inc.php'; ?> <script type="text/javascript" language="javascript"> // <![CDATA[ -function takeThis(what) { +function takeThis(what) +{ if (window.opener && window.opener.document.forms['setTheme'].elements['set_theme']) { window.opener.document.forms['setTheme'].elements['set_theme'].value = what; window.opener.document.forms['setTheme'].submit(); |