From 943ac3c77ec1dd93d14a780b25fa147d0f882760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 12 Feb 2014 21:58:40 +0100 Subject: new theme, baggy one cf #448 --- themes/baggy/js/autoClose.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 themes/baggy/js/autoClose.js (limited to 'themes/baggy/js/autoClose.js') diff --git a/themes/baggy/js/autoClose.js b/themes/baggy/js/autoClose.js new file mode 100644 index 00000000..e9145b7e --- /dev/null +++ b/themes/baggy/js/autoClose.js @@ -0,0 +1,6 @@ +$(document).ready(function() { + current_url = window.location.href + if (current_url.match("&closewin=true")) { + window.close(); + } +}); -- cgit v1.2.3