diff options
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/js/autoClose.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/js/autoClose.js b/themes/default/js/autoClose.js index 3035d423..e9145b7e 100644 --- a/themes/default/js/autoClose.js +++ b/themes/default/js/autoClose.js | |||
@@ -1,6 +1,6 @@ | |||
1 | $(document).ready(function() { | 1 | $(document).ready(function() { |
2 | current_url = window.location.href | 2 | current_url = window.location.href |
3 | if (current_url.match("&autoclose=true")) { | 3 | if (current_url.match("&closewin=true")) { |
4 | window.close(); | 4 | window.close(); |
5 | } | 5 | } |
6 | }); \ No newline at end of file | 6 | }); |