aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/js/autoClose.js
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-11-25 02:00:07 -0800
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-11-25 02:00:07 -0800
commitc2b7a11c772a5b503896add11ea18838999f8d58 (patch)
tree1976b248eb85e335febc13e0442b8fe766b91687 /themes/default/js/autoClose.js
parentcd8a3441561fa63b9da1b705c4b28dee787f79b0 (diff)
parent7a4482b8a43afca7f5c311ae7e44b3f0c4d239c0 (diff)
downloadwallabag-c2b7a11c772a5b503896add11ea18838999f8d58.tar.gz
wallabag-c2b7a11c772a5b503896add11ea18838999f8d58.tar.zst
wallabag-c2b7a11c772a5b503896add11ea18838999f8d58.zip
Merge pull request #326 from inthepoche/dev
1.2.0
Diffstat (limited to 'themes/default/js/autoClose.js')
-rw-r--r--themes/default/js/autoClose.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/default/js/autoClose.js b/themes/default/js/autoClose.js
new file mode 100644
index 00000000..e9145b7e
--- /dev/null
+++ b/themes/default/js/autoClose.js
@@ -0,0 +1,6 @@
1$(document).ready(function() {
2 current_url = window.location.href
3 if (current_url.match("&closewin=true")) {
4 window.close();
5 }
6});